This looks good now: It doesn't die anymore, but returns "foo bar".
$ perl6-m -e '$_ = "foo bar"; say m/ "{ $_ }" /'
「foo bar」
$ perl6-p -e '$_ = "foo bar"; say m/ "{ $_ }" /'
「foo bar」
$ perl6-j -e '$_ = "foo bar"; say m/ "{ $_ }" /'
「foo bar」
I added a test to S05-mass/rx.t with the following
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #115294]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=115294 >
nr: $_ = "foo bar"; say m/ "{ $_ }" /
niecza v22-13-g0d2a99e: OUTPUT«#»
..rak