Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Compiling Regular Expressions

by diotalevi (Canon)
on Feb 19, 2003 at 05:40 UTC ( #236542=note: print w/replies, xml ) Need Help??

in reply to Compiling Regular Expressions

You've got two considerations - normal regexes which do not use interpolation are compiled exactly once without you doing anything special on your end. Zaxo's reference to the qr operator applies when you interpolate variables but only need to do that once or occassionally. And then from there its even slower to interpolate qr compiled expressions into other expressions (only because you're compiling more often than necessary).

Seeking Green geeks in Minnesota

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://236542]
[shmem]: Old_Gray_Bear would nod, and go back to sleep, then - but he's been sleeping for a year now.
[erix]: "AngloZionist Empire"? "Stop the Empire's war on Russia?" WTF?
erix stops reading as recommended by the blog itself
[erix]: my attention being jealously guarded ;)
[shmem]: erix, yes, it's a WTF. Since...
[erix]: antisemitic && (pro-)russian. Makes sense :P
[shmem]: erix: what's antisemitic in there? Tell me.
[erix]: AngloZionist
[shmem]: and it is *not* pro-russian. It describes the western world.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2018-03-19 20:51 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.