The stupid question is the question not asked | |
PerlMonks |
Re: Lookahead assertion confusionby thelenm (Vicar) |
on Jan 10, 2003 at 22:38 UTC ( [id://225980]=note: print w/replies, xml ) | Need Help?? |
The lookahead assertion (?!<p>) means that your string must not match <p> beginning at the point of the lookahead assertion. Basically, the lookahead assertion is having no effect, since it's impossible for a string to match both <p> and features beginning at the same point.
-- Mike --
In Section
Seekers of Perl Wisdom
|
|