Timeline for Undress a string
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2017 at 14:16 | history | edited | Ramillies | CC BY-SA 3.0 |
deleted 90 characters in body
|
Sep 21, 2017 at 14:08 | comment | added | Ramillies |
Thanks! I tried [^2*.comb] and it didn't work, so I just used [0..2*.comb] . And thanks for the ternary, I just thought it's too expensive and it didn't occur to me that I replaced it with something even more expensive...
|
|
Sep 21, 2017 at 13:50 | comment | added | nwellnhof |
[^.comb*2] saves 2 bytes. For some reason this works, but [^2*.comb] doesn't. No idea why. Using a ternary ?? !! to select the regex saves another byte.
|
|
Sep 21, 2017 at 10:27 | history | answered | Ramillies | CC BY-SA 3.0 |