Boost logo

Boost Users :

From: Gregory Nisnevich (gregnis_at_[hidden])
Date: 2005-07-14 13:07:31

I'm trying to use lookbehind assertions, and here's a problem: the
following syntax


gives me the error:

'(?<=^.{2}).{4}' is a bad regular expression: Unmatched [ or [^

while the following works:


matching, as I expected, 4 characters after the first 2 characters
in a line.

Shouldn't the above two regexes work the same way?



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at