[perl #130688] [BUG] .subst/.subst-mutate with :g do not set $/ to all the matches
[email protected] ("Zoffix Znet via RT") Wed, 07 Mar 2018 21:42:13 -0800
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 22 Mar 2017 13:58:22 -0700, [email protected] wrote: > Also affects :x and :nth modifiers > > <Zoffix> m: 'mmmmmmm'.subst: :x(1..3), /m/, 'g'; say WHAT $/ > <camelia> rakudo-moar 6a77cd: OUTPUT: «(Match)» > <Zoffix> m: 'mmmmmmm'.subst: :nth(1..3), /m/, 'g'; say WHAT $/ > <camelia> rakudo-moar 6a77cd: OUTPUT: «(Match)» Thank you for the report. This is now fixed. Fix: https://github.com/rakudo/rakudo/commit/874fcdda2dc469f Test: https://github.com/perl6/roast/commit/af02dd68eb7569b91