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
Adding a double-colon "cut group" to the inside of a ratcheted expression causes it to backtrack in Rakudo #1475
Comments
From @masakThis be Rakudo db84bc on Parrot r43174. $ perl6 -e 'say "abab" ~~ / (ab)+: ab / || "no match"' $ perl6 -e 'say "abab" ~~ / (a :: b)+: ab / || "no match"' This is a PGE bug, but I don't know where else to submit PGE bugs, and The first expression prints 'no match', and it should. This is because The second expression should also print 'no match', for the exact same |
From @bbkron Kiev build second test doesn't match, but say :: is not implemented perl6 -e 'say "abab" ~~ / (a :: b)+: ab / || "no match"' |
The RT System itself - Status changed from 'new' to 'open' |
From @bbkrNOM: same error as on Kiev bbkr:nom bbkr$ ./perl6 -e 'say "abab" ~~ / (a :: b)+: ab / || "no match"' |
Still "not yet implemented". Maybe it's about time it was implemented, now that this has become the oldest ticket here? |
Would be nice, but it looks to me that would require changes to the NQP regex engine, and I don't see that happening any time soon :-( |
Migrated from rt.perl.org#72234 (status was 'open')
Searchable as RT72234$
The text was updated successfully, but these errors were encountered: