# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #129969]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129969 >


<masak> m: say "abc def abc".comb(/a<(bc)>/)
<camelia> rakudo-moar 23faf6: OUTPUT«(abc abc)␤»
<masak> I expected "(bc bc)" here
* masak submits rakudobug

Because of the <( )>, the .comb is meant to only capture the "bc" part
of the "abc" match.

<masak> oh, here's a better example for the RT ticket:
<masak> m: say "abc xbc".comb(/a<(bc)>/)
<camelia> rakudo-moar 23faf6: OUTPUT«(abc)␤»
<masak> it's correct in that it matches only on the first word
<masak> it's incorrect in that it includes the "a", when the <( )>
tell it to exclude it

This used to work. I just updated nom like this

>From github.com:rakudo/rakudo
   b87a27b..23faf61  nom        -> origin/nom

And I had confirmed before rebuilding that the old build does not
carry the regression.

Reply via email to