Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2017-04-23 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (430 votes). Check out past polls.