> [EMAIL PROTECTED] wrote:
> > For one, you cant use regex for negative lookbehind rules (I'm not
> > exactly clear on why, but it has something to do with the way regex
> > works under the hood).
>
> Sure you can, since at least 5.6. This is straight from the Camel
> book:
>
> Lookahead: (?=...)
> Negative lookahead: (?!...)
> Lookbehind: (?<=...)
> Negative lookbehind: (?<!...)
>
> What version of perl are you using? That is, what is your
> output to perl --version
I am using v5.8.1 but never tested the rule(s) on my system. I was using an online regex checker. I have perl v5.8.1 on my system which seems to like the regex in negative look behind just fine. I suppose you can't believe everything you read online after all!
Thank you everyone for help with this problem.
