![]() |
|
more useful options | |
PerlMonks |
Re: Tell regex to stop at "phrase", instead of char - how?by JediWizard (Deacon) |
on Aug 02, 2007 at 18:08 UTC ( #630354=note: print w/replies, xml ) | Need Help?? |
See perlre
"A zero-width negative look-ahead assertion. For example /foo(?!bar)/ matches any occurrence of "foo" that isn't followed by "bar". Note however that look-ahead and look-behind are NOT the same thing. You cannot use this for look-behind." They say that time changes things, but you actually have to change them yourself. Andy Warhol
In Section
Seekers of Perl Wisdom
|
|