Re: bug with regexp?
/\$[^[] does not find $foo
it works fine in other regexps, including sed and vim
i'm looking for $ followed by anything except [
doing /\$[^\[] doesnt help (escaping the [ with a backslash)
You are not logged in. Please login or register.
/\$[^[] does not find $foo
it works fine in other regexps, including sed and vim
i'm looking for $ followed by anything except [
doing /\$[^\[] doesnt help (escaping the [ with a backslash)
Nirva, you are right. The regex compiler only tried to interpretate '[' in a set as a potential start for a posix char class (such as "[:alnum:]"), and else failed. I have fixed this (and also implemented gI) and uploaded build 2.0.52:
http://forums.ngedit.com/viewtopic.php?id=149
Best regards,
Jon
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
[ Generated in 0.026 seconds, 9 queries executed ]