Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 surveying the Monastery: (5)
As of 2015-07-07 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls