Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: An optimization of last resort: eliminate capturing from your regexps (//k)

by tye (Sage)
on Jul 12, 2006 at 02:51 UTC ( [id://560591]=note: print w/replies, xml ) Need Help??


in reply to Re^2: An optimization of last resort: eliminate capturing from your regexps
in thread An optimization of last resort: eliminate capturing from your regexps

Am I misunderstanding you or did you just not notice the second paragraph:

$str =~ /Hulk hate (\w+)/k;

Note that demerphq has added /k to his regex. I don't see demerphq proposing any per-script or per-invocation flag that you seem to have imagined.

- tye        

  • Comment on Re^3: An optimization of last resort: eliminate capturing from your regexps (//k)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found