Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Regex to match multiple words in an email subject

by philipbailey (Chaplain)
on Jan 07, 2011 at 09:58 UTC ( #881035=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Regex to match multiple words in an email subject
in thread Regex to match multiple words in an email subject

That's a good point, but in the OP's use case it's irrelevant. In fact, the regex could be trimmed down to:

/(SSL|VASCO)/

Or, to avoid unnecessary capturing:

/(?:SSL|VASCO)/


Comment on Re^3: Regex to match multiple words in an email subject
Select or Download Code
Re^4: Regex to match multiple words in an email subject
by JavaFan (Canon) on Jan 07, 2011 at 12:36 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2015-07-06 16:17 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 (77 votes), past polls