# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #79366] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=79366 >
<masak> rakudo: say "_block".trans(/foo/ => "bar") <p6eval> rakudo 015d77: OUTPUT«barbar» <masak> how barbaric. * masak submits rakudobug <masak> S05:4173: "To achieve greater power, any recognition element of the left side may be specified by a regex that can do character classes, lookahead, etc." <masak> I see no sign in the Rakudo source code that Str.trans takes regexes into account, so I'll make this a TODO ticket. <masak> the output above is entirely spurious.