bug in regex engine?

Eddy De Greef eddy_de_greef at scarlet.be
Wed Jul 25 00:06:47 CEST 2007


Joerg Fischer wrote:
> But actually all the negated escape sequences behave as if they were
> not negated inside a character class, that is [\L] (or [\S], [\D],
> ...) is just the lowercase version [\l].
> 
> Is this a bug in the regex engine or in the documentation?

It's a bug in the regex engine, I would say. I see no reason why negated 
   shortcuts should behave differently inside character classes. Other 
RE engines implement it correctly. I'll see whether I can fix it.

Eddy


More information about the Develop mailing list