Re:Regular Expression Engine in 14 lines of Python
by berntb on Tuesday November 08, 2011 @08:24PM
(#3213790)
>>PCRE's quality is essentially orthogonal to these issues.
That seems like... conscious misrepresentation.
If it was just compatibility, I'd learn the new syntax.
The problem is quality. Specifically, I found two relatively simple regexps that doesn't work. Already.
I guess I should try to avoid the PCRE lib for serious work, which is hard. :-(
Edit: I could have been just unlucky, but...
(I'm not going to start trading insults, if that is what you want.)
PCRE is taking an extremely powerful and completely non-standard DSL out of the context of a parent language to which it is inextricably intertwined and reimplementing it for general-purpose use in other languages.
Between that, and the long history of outwardly-bizarre compatibility problems between different regex engines, even those that are supposed to be compatible, you should not have expected the level of compatibility you did.
PCRE's quality is essentially orthogonal to these issues.