Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • How hard would it be to make a module that caused all regular expressions lexically to use PCRE rather than the default one?

    Just a thought. And secondly, what are the benchmarks like?
    • How hard would it be to make a module that caused all regular expressions lexically to use PCRE rather than the default one?
      Doing it lexically would be trickier, because you'd have to either add a new set of OPs for the PCRE versions, or at least a flag for the existing ones. I was thinking it would be more along the lines of use re 'debug'; (which is to say, not lexically scoped).

      The first stage is to write a simple XS interface to PCRE, and then we can do some sensible benchmarks as well.