laziness, impatience, and hubris | |
PerlMonks |
Re: Regex: negative look aheadby JavaFan (Canon) |
on Apr 10, 2012 at 12:49 UTC ( [id://964320]=note: print w/replies, xml ) | Need Help?? |
It seems you want to write a pattern that says "match PAT1, and there should not be PAT2 somewhere after it". You can write that as:
or, in your case, as
In Section
Seekers of Perl Wisdom
|
|