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

Re: Why does this simple grouping regex not match?

by fisher (Priest)
on Feb 28, 2011 at 13:38 UTC ( [id://890560]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (?=a|b|c)
    
  2. or download this
    perl -e '$_ = "(b)."; /\([abc]\)/ && do { print "match!\n"; };'
    
  3. or download this
    perl -e '$_ = "(b)."; /\((a|b|c)\)/ && do { print "match!\n"; };'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-18 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found