Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Matching and nonmatching multiple regexps at once

by JavaFan (Canon)
on Apr 20, 2012 at 15:18 UTC ( #966207=note: print w/ replies, xml ) Need Help??


in reply to Matching and nonmatching multiple regexps at once

/that (*COMMIT) (*FAIL) | this .* that (*COMMIT) (*FAIL) | this/xs;
Note that this doesn't work correctly on 5.12 (adding some parens around 'this .* that' makes it work though), but it does work correctly in 5.14.2.


Comment on Re: Matching and nonmatching multiple regexps at once
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-10-22 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls