New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single named match does not work with hyper (».Str) #4715
Comments
From bescirn@gmail.comm: grammar G {rule TOP {<G1>}; token G1 {A}}; my $g = rakudo-moar c880f1: OUTPUT«()» See: http://irclog.perlgeek.de/perl6/2015-11-05#i_11492065 and subsequent discussion. |
From @AlexDanielInteresting. On 2015-11-05 16:13:33, bescirn@gmail.com wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
The filer's title is misleading. It's not about named matches. The same issue arises with positional matches:
The filer's confusion/expectation was that a hyper would/should fall back to treating a capture as a list of that capture if it had no (positional) sub captures. I can see why, but such a fallback would be awful. This might arguably belong as a doc issue, but I don't think so, so I'm not going to file one. |
Migrated from rt.perl.org#126574 (status was 'open')
Searchable as RT126574$
The text was updated successfully, but these errors were encountered: