Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Matching and nonmatching multiple regexps at once

by JavaFan (Canon)
on Apr 20, 2012 at 15:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://966207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-24 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found