# New Ticket Created by Deyan Ginev # Please include the string: [perl #117091] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117091 >
<LlamaRider> r: my $rex='rex'; say "Rex" ~~ m:i/$rex/; say "Rex" ~~ m:i/<$rex>/; <p6eval> rakudo 11157e: OUTPUT«「Rex」#<failed match>» I think both should match Rex here. Which works if we assign $rex as: <LlamaRider> r: my $rex=rx:i/rex/; say "Rex" ~~ m:i/$rex/; say "Rex" ~~ m:i/<$rex>/; <p6eval> rakudo 11157e: OUTPUT«「Rex」「Rex」»
