in reply to Re: Variable-length negative lookbehind
in thread Variable-length negative lookbehind

You can only use multiple fixed-length look-behinds if you have a discrete set of alternatives. You couldn't represent (?!<fo+) that way.

As it turns out, a single positive look-behind was sufficient for your problem.


The PerlMonk tr/// Advocate