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
Failing test in S05-modifier/perl5_5.t for regex with lazy quantifier on alternation #4161
Comments
From @usev6The test in question is this: is(("acdbcdbe" ~~ rx:P5/a(?:b|c|d){6,7}?(.)/ && $0), "e", 're_tests 617/1 (801)'); It turns out that the problem is not related to P5, but happens with P6Regex as well: <bartolin> r: say ("ddd" ~~ / [ x | d ] **? 3 /) <bartolin> r: say ("ddd" ~~ / [ x | d ] **? 2..3 /) The greedy version works as expected: <bartolin> r: say ("ddd" ~~ / [ x | d ] ** 2..3 /) I was unable to golf it further, so the alternation seems to be needed to produce the bug. |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6This works now on the JVM backend as well. I've unfudged the old tests and 've added one test with a P6 regex to S05-metasyntax/regex.t with commit Raku/roast@ae57169b24 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now on the JVM backend as well. I've unfudged the old tests and 've added one test with a P6 regex to S05-metasyntax/regex.t with commit Raku/roast@ae57169b24 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
From @usev6Fix is here: Raku/nqp@0bea6888c3 |
Migrated from rt.perl.org#125021 (status was 'resolved')
Searchable as RT125021$
The text was updated successfully, but these errors were encountered: