in reply to Re: Re: Regex Strikes again!
in thread Regex Strikes again!

Put which condition in which while cycle? There's no while in your code fragment.

Which part of "what you are trying to do is to complex for a simple regexp" do you fail to understand?

I've said this before, what you need is a parser, nor a regexp. For simple languages like Java, you can get away with a parser that's not a full-language parser. I told you this three weeks ago, but you still are on the regexp road, and have made remarkably little progress.

Don't match - parse!

Abigail