Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Conditional regex

by AnomalousMonk (Chancellor)
on Feb 17, 2013 at 19:30 UTC ( #1019199=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "print 'match' if 'xxx' =~ m{ ( ? : x ) }xms;
    "
    Sequence (? ...) not recognized in regex...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019199]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (None)
    As of 2017-07-27 01:52 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I came, I saw, I ...
























      Results (402 votes). Check out past polls.