Regex negative look behind

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Regex negative look behind

Steve Hayes-2
Hello - newbie question here. Is the regex implememtation meant to handle negative lookbehind, or is that out of scope? Something like (?<!-)\b[0-9]+ (which should not match negative integers)
When I try to turn the string into a regex I'm getting a parsing error.

If it’s out of scope, is there an alternative approach in Pharo?


Steve Hayes