Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Need help comparing against a set of regexps

by strat (Canon)
on Mar 10, 2002 at 21:41 UTC ( #150765=note: print w/replies, xml ) Need Help??


in reply to Need help comparing against a set of regexps

If you want to match a string against many different patterns, it could give an improvement in performance if you "study" your variable before the matchings...

perldoc -f study

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

  • Comment on Re: Need help comparing against a set of regexps

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2022-01-29 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?