Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???

by Roy Johnson (Monsignor)
on Feb 18, 2005 at 13:14 UTC ( #432312=note: print w/replies, xml ) Need Help??


in reply to Re: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
in thread Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???  

No, Perl compiles the regex once where it is defined with qr.

Caution: Contents may have been coded under pressure.
  • Comment on Re^2: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-08-08 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?