# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115298] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115298 >
<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> nr: my $x = "foo bar"; $_ = $x; say m/ $( $x ) / <p6eval> niecza v22-13-g0d2a99e: OUTPUT«#<match from(0) to(7) text(foo bar) pos([].list) named({}.hash)>» <p6eval> ..rakudo 90fad9: OUTPUT«#<failed match>» <TimToady> that one seems like an unrelated bug <TimToady> probably not parsing $() as a variable there <masak> nod * masak submits rakudobug <TimToady> nr: my $x = "foo bar"; $_ = $x; say m/ $( 1 2 ) / <p6eval> niecza v22-13-g0d2a99e: OUTPUT«===SORRY!===Unable to parse argument list [...] <p6eval> ..rakudo 90fad9: OUTPUT«#<failed match>» <TimToady> yes, it thinks it's just $ and () separately