Timeline for Unexpected substitution behavior
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 24, 2020 at 7:15 | comment | added | B Layer |
Or s/\d\ze./&,/g . A little shorter, maybe a little more efficient (not that one would notice with such small inputs). On the con side, you want to make sure there are only numbers (otherwise s/\d\ze\d/&,/g ).
|
|
Sep 1, 2020 at 5:50 | comment | added | Larara |
This \@= thing is very nifty. Didn't know of it, though. Thanks!
|
|
Sep 1, 2020 at 5:44 | vote | accept | Larara | ||
Sep 1, 2020 at 5:34 | history | answered | Matt | CC BY-SA 4.0 |