# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #64944]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64944 >
<masak> both my problems went away after updating Rakudo. now I have a
new one. I get a StopIteration when doing $/.perl
<pmichaud> the .perl method has a big bug, yes.
<pmichaud> It doesn't know how to handle quantified captures.
<pmichaud> i.e., it assumes that every named/positional entry will be
a Match. But sometimes they're lists of matches.
<masak> right.
<masak> I have such a $/.
<masak> moritz_++
<masak> yup, that's it.
<masak> rakudo: regex f { f }; regex o { o }; "foo" ~~ /<f> <o>/; say $/.perl
<p6eval> rakudo a76abb: OUTPUT«Match.new( [...]
<masak> rakudo: regex f { f }; regex o { o }; "foo" ~~ /<f> <o>+ /; say $/.perl
<p6eval> rakudo a76abb: OUTPUT«StopIteration [...]
* masak submits rakudobug