# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #115296]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115296 >
<TimToady> nr: $_ = "foo bar"; say m/ $( $_ ) /
<p6eval> niecza v22-13-g0d2a99e: OUTPUT«#<match from(0) to(7) text(foo
bar) pos([].list) named({}.hash)>»
<p6eval> ..rakudo 7731d2: OUTPUT«#<failed match>»
<TimToady> and another :)
* masak submits rakudobug
<TimToady> looks like m is clobbering $_
<TimToady> yes, the problem seems to be losing $_
<TimToady> is probably desugaring m// to $_ ~~ // or some such
<TimToady> except you'd think that'd still work