in reply to
Variable-length negative lookbehind
Another technique is to match the reverse of the string. Variable length lookbehinds become variable length lookaheads, which are legal.
-Mark
Comment on
Re: Variable-length negative lookbehind
Replies are listed 'Best First'.
Re: Re: Variable-length negative lookbehind
by
Roy Johnson
(Monsignor)
on May 07, 2004 at 17:22 UTC
But you're hosed if you've got both lookahead and lookbehind. And I just hate all the reversing.
:-)
The PerlMonk
tr///
Advocate
[reply]
In Section
Meditations