> ... ('a' x 100) =~ /(?<match>(??{'(.)' x 100}))/;
ehm ... what you're showing also works with unnamed capture groups:
DB<113> ('a' x 10) =~ /((??{'(.)' x 10}))/; print "<$1>" => 1 <aaaaaaaaaa>
The OP's point was about dynamically generated capture groups, but yours is outside the embedded Perl code.
Cheers Rolf
In reply to Re^2: Evaluating code in a regex at runtime: (??{...})
by LanX
in thread Evaluating code in a regex at runtime: (??{...})
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |