Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: alternation in regexes: to use or to avoid?

by Athanasius (Archbishop)
on Dec 10, 2012 at 15:07 UTC ( #1008113=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print if /one-hump/ || /two/;
    
  2. or download this
    print if /one-hump|two/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-12-03 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?