# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #126969] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126969 >
<masak> m: say so "foo" ~~ /f(oo)/; say ~$0 <camelia> rakudo-moar 091ee7: OUTPUT«Trueoo» <masak> m: constant $R = /f(oo)/; say so "foo" ~~ $R; say ~$0 <camelia> rakudo-moar 091ee7: OUTPUT«TrueUse of Nil in string context [...] <masak> the last line not working is a regression (that I just discovered in a test in a branch in 007) <masak> is that intentional? feels to me that oughta work just fine. <lucasb> m: my \rx = /f(oo)/; say so "foo" ~~ rx; say ~$0 <camelia> rakudo-moar 091ee7: OUTPUT«TrueUse of Nil in string context [...] <lucasb> star: my \rx = /f(oo)/; say so "foo" ~~ rx; say ~$0 <camelia> star-m 2015.09: OUTPUT«Trueoo» <lucasb> (just showing...) <masak> well, with this one I kinda half-expect jnthn to pop up (tomorrow) and say "that's a feature!" or "masak, you submitted an RT thing that said it should be like that!" :P * masak submits rakudobug