14 Jul
2005
14 Jul
'05
6:07 p.m.
I'm trying to use lookbehind assertions, and here's a problem: the following syntax (?<=^.{2}).{4} gives me the error: '(?<=^.{2}).{4}' is a bad regular expression: Unmatched [ or [^ while the following works: (?<=^..).{4} matching, as I expected, 4 characters after the first 2 characters in a line. Shouldn't the above two regexes work the same way? Thanks, -Gregory __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com