in reply to
Negative Lookahead Assertion Strangness
This regular expression should do what
sas
asked:
/^(?!.*foo).*bar/
Update: I see that
ikegami
has a much more throrough treatment of the issue (above).
Comment on
Re: Negative Lookahead Assertion Strangness
Download
Code
In Section
Seekers of Perl Wisdom