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

Re: Boolean operators in PERL regexp?

by ikegami (Pope)
on Feb 24, 2005 at 19:02 UTC ( #434196=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /^(?:(?!$re).)*$/          # NOT re
    /$re1|$re2/                # re1 OR re2
    /^(?=.*$re1)(?=.*$re2)/    # re1 AND re2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://434196]
help
Chatterbox?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-07-17 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (353 votes). Check out past polls.

    Notices?