Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by philipbailey (Curate)
on Jan 07, 2011 at 09:58 UTC ( [id://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)/

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://881035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-19 04:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found