s{} can now be used with numeric input: $ perl6 -e '$_ = 0; s{^(\d+)$} = sprintf "%3d -", $_; say $_' 0 -
I added a test to S05-substitution/subst.t with commit https://github.com/perl6/roast/commit/15e0300059. I'm closing this ticket as 'resolved'.
Christian Bartolomaeus via RT Tue, 07 Apr 2015 08:22:36 -0700
s{} can now be used with numeric input: $ perl6 -e '$_ = 0; s{^(\d+)$} = sprintf "%3d -", $_; say $_' 0 -
I added a test to S05-substitution/subst.t with commit https://github.com/perl6/roast/commit/15e0300059. I'm closing this ticket as 'resolved'.