# New Ticket Created by Zoffix Znet
# Please include the string: [perl #132121]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=132121 >
Apparently it's possible to assign to capture variables to change what the
resultant Match will have.
The first question: is this actually something specced and supported?
Especially the fact that further captures continue their numbering from the
capture we wrote into:
m: say "hi hi ho" ~~ /(\w+) \s+ $10=[$0] \s+ (\w+)/
rakudo-moar 476741: OUTPUT: «「hi hi ho」 0 => 「hi」 10 => 「hi」 11 => 「ho」»
If it's not, it needs to be plugged up. And if it is, then it has this is the
bug with overflow:
m: say "hi" ~~ /
$10000000000000000000000000000000000000000000000000000000000000=(\w) (.)/
rakudo-moar 476741: OUTPUT: «「hi」 -6917529027641081856 => 「h」 0 => 「i」»