in reply to Trying to count the captures in a compiled regular expression
His module is not a parser like mine is, but rather, an XS interface to the C code behind the regex engine.use Regexp; my $rx = Regexp->new('pattern'); my $nparens = $rx->nparens;
|
|---|