Timeline for Facey McFaceface
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 1, 2018 at 20:45 | comment | added | Jordan |
You can get this down to 44+1 bytes by using the -p flag and using sub : tio.run/…
|
|
Mar 29, 2018 at 18:44 | history | edited | Reinstate Monica -- notmaynard | CC BY-SA 3.0 |
added 375 characters in body
|
Mar 28, 2018 at 15:05 | comment | added | Martin Ender |
Nah, it's fine, I wouldn't have come up with using =~ and building the whole string instead of using sub . String interpolation can be used without brackets if the variable is a global, instance or class variable.
|
|
Mar 28, 2018 at 15:04 | comment | added | Reinstate Monica -- notmaynard | @MartinEnder Wow, that is quite a difference. I don't think I've seen string interpolation without brackets. I'll take it if you don't want to use it for your own Ruby answer. | |
Mar 28, 2018 at 13:42 | comment | added | Martin Ender | Using the regex from my Retina answer and making a bit more use of string interpolation gets this down to 49: tio.run/##DcxBCsIwEEDRqwxJBF3Y4lpSN0U3igcQwTQmGFptMVNkTOLVY3bvb/… | |
Mar 27, 2018 at 19:36 | history | answered | Reinstate Monica -- notmaynard | CC BY-SA 3.0 |