There's more than one way to do things | |
PerlMonks |
Re^3: Regex to match multiple words in an email subjectby philipbailey (Curate) |
on Jan 07, 2011 at 09:58 UTC ( [id://881035]=note: print w/replies, xml ) | Need Help?? |
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)/
In Section
Seekers of Perl Wisdom
|
|