|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Problem with negative lookahead at end of stringby tye (Sage) |
| on Jun 21, 2004 at 11:12 UTC ( [id://368469]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
If "whatever" is actually a pattern that can match more than a single length of string, then instead use:
And note that the (?!.*that) part doesn't need to be repeated. - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||