<masak> rakudo: grammar G { regex TOP { <foo> a }; regex foo { a* } }; say
?G.parse("aaa")
<p6eval> rakudo e393c7: OUTPUT«0»
<masak> alpha: grammar G { regex TOP { <foo> a }; regex foo { a* } }; say
?G.parse("aaa")
<p6eval> alpha 30e0ed: ( no output )
<masak> locally, alpha gives me '1', which is the correct answer.
* moritz_ agrees
<masak> there's https://rt.perl.org/rt3/Ticket/Display.html?id=73608 in RT
already.
<masak> this one is clearly related; is it identical, or should I submit a new
one for this one?
<masak> capturing parens and subrules are related but not identical.
<masak> (and given that the former doesn't work, I'm not surprised that the
latter doesn't,
either)
<masak> though I *am* surprised that the Perl 6 grammar in Rakudo doesn't
suffer more
from these bugs.
<moritz_> masak: it mostly uses tokens anyway
<masak> right. not much backtracking going on in the first place.