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


<jnthn> r: my $re = rx {.(.).}; say 'abc' ~~ /(<$re>)/
<camelia> rakudo ce8b5f: OUTPUT«「abc」␤ 0 => 「abc」␤␤»
<jnthn> Um. What happened to the inner match...
* masak submits rakudobug
<masak> r: say 'abc' ~~ /(.(.).)/
<camelia> rakudo ce8b5f: OUTPUT«「abc」␤ 0 => 「abc」␤  0 => 「b」␤␤»

These two evaluations should, of course, result in the same match object.

Reply via email to