Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Regex code assertion should be able to fail

by nobull (Friar)
on Sep 04, 2007 at 08:34 UTC ( #636866=note: print w/replies, xml ) Need Help??


in reply to Re: Regex code assertion should be able to fail
in thread Regex code assertion should be able to fail

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.

  • Comment on Re^2: Regex code assertion should be able to fail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://636866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2023-06-01 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?