[perl #118737] [BUG] Match object loses its inner match if <$rx> regex inclusion syntax is used in Rakudo

2013-07-03 Thread Carl Mäsak via RT
the problem with /(<$re>)/ is that the <> is still going to throw away the captured material inside because it doesn't start with alpha oh! r: my $re = rx {.(.).}; say 'abc' ~~ /$0=<$re>/ rakudo ce8b5f: OUTPUT«「abc」␤ 0 => 「abc」␤ 0 => 「b」␤␤» \o/ TimToady: so the rakudobug is a dud? /(<$re>

[perl #118737] [BUG] Match object loses its inner match if <$rx> regex inclusion syntax is used in Rakudo

2013-07-03 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #118737] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=118737 > r: my $re = rx {.(.).}; say 'abc' ~~ /(<$re>)/ rakudo ce8b5f: OUTPUT«「abc」␤ 0 =