Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Good Idiom for Matching List?

by Molt (Chaplain)
on Dec 12, 2002 at 10:39 UTC ( [id://219279]=note: print w/replies, xml ) Need Help??


in reply to Good Idiom for Matching List?

Have you thought of having a look at Jarkko's Regex::PreSuf module? It's main use is to create a regular expression from wordlists using prefix and suffix analysis, which should create a much faster regex than just joining them together.

Not sure how well it works, found it whilst trying to find something else recently so not used it myself.

Replies are listed 'Best First'.
Re: Re: Good Idiom for Matching List?
by John M. Dlugosz (Monsignor) on Dec 12, 2002 at 15:59 UTC
    My list only has three items in it, so it's not critical. My goal is to isolate the names into a simple maintainable definition at the top of the script. It's not speed critical.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found