On Sat, 29 Jul 2006 00:14:22 +0900, Roman Hausner wrote: > <snip> > First, you are misunderstanding the extend of the problem if you think > this > is just about RegExps that are not "carefully crafted". > As I have pointed out, with very complex expressions or expressions that > get constructed automatically (which happens quite often) it is nearly > impossible to avoid this, even if you are en expert with RegExps. > Why would you prefer an expression engine that > stupidly does *the wrong* thing? > <snip> If you really need to create such complicated regexps, then maybe regexps aren't the right tool. You would be better of using a real parser or parser generator. Kristof