Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

sky (1411)

  (email not shown publicly)

sky on IRC

Journal of sky (1411)

Wednesday July 11, 2001
07:53 AM

Regex joy.

[ #401 ]
Today I whipped up two new global variables PL_regex_padav which is an AV of regexes, and PL_regex_pad which is the padavs ARRAY. Then I changed the PMOP (PatternMatchOP) to instead of keeping a pointer to a regex it keeps a offset onto the regex_pad. Because this pad is per interpreter we can just clone it and keep the regex structres serpate. Abhijit Menon-Sen promised to fix Perl_re_dup and then we are finished! Yay.