On Mon, 18 Sep 2017 10:45:21 -0700, c...@zoffix.com wrote: > 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
This is documented in the design docs as intentional: http://design.perl6.org/S05.html#Numbered_scalar_aliasing (Except for the overflow bug, of course.)