Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Generating regex strings with a regex

by Aristotle (Chancellor)
on Aug 28, 2003 at 10:13 UTC ( #287296=note: print w/replies, xml ) Need Help??


in reply to Generating regex strings with a regex

You can force a failure using (?!) - a lookahead assertion that the empty string doesn't match here, which can never occur.

Makeshifts last the longest.

  • Comment on Re: Generating regex strings with a regex

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-12-03 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (29 votes). Check out past polls.

    Notices?