Timeline for Run Length Decoding
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Dec 4, 2013 at 16:52 | comment | added | F. Hauri - Give Up GitHub | Using the -p flag let you drop print and <>, so answer will become simply: s/(.)(.)/$1x$2/ge -> 17chars +1 for -p -> 18. | |
| Oct 20, 2013 at 13:34 | comment | added | psxls | BTW /r is documented in perlop and was added in v5.14.0 | |
| Oct 19, 2013 at 21:10 | history | edited | John Dvorak | CC BY-SA 3.0 | accidentally did not update char count in R2 |
| Oct 19, 2013 at 14:44 | history | edited | John Dvorak | CC BY-SA 3.0 | deleted 4 characters in body |
| Oct 19, 2013 at 11:26 | comment | added | John Dvorak | @primo true - I didn't know about the r flag and I couldn't find it. Thanks. As for other part - sorry, I misread the spec. I'll edit when I can. | |
| Oct 19, 2013 at 11:17 | comment | added | primo | This seems unnecessarily verbose: print<>=~s/(.)(.)/$1x$2/ger. I'm also fairly sure you meant $1x$2, and not the other way around. | |
| Oct 19, 2013 at 9:15 | history | answered | John Dvorak | CC BY-SA 3.0 |