![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Regex code assertion should be able to failby nobull (Friar) |
on Sep 04, 2007 at 08:34 UTC ( #636866=note: print w/replies, xml ) | Need Help?? |
Thanks, but that's the wrong usage of assertion.
I'm taking about assertions in regular expressions. These are conditions that must hold true if the regex match is to continue. If the condition is not met, no exception is thrown, the re engine just backtracks and tries to find another match.
In Section
Meditations
|
|