Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Returning regexp pattern that was used to match

by Abigail-II (Bishop)
on May 03, 2004 at 15:01 UTC ( #350035=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Returning regexp pattern that was used to match
in thread Returning regexp pattern that was used to match

Well, you could of course always not construct a big regexp, but just loop over the keys and apply each regexp, doing something when it matches.

Abigail


Comment on Re: Returning regexp pattern that was used to match

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-12-23 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls