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