Advent of Code Not Quite Lisp by %20

:
s/(\(-*\))/-\1-/
t
s/).*/-/
s/0\?-\{10\}/-0/
t
s/-\+/&987654321 /g
s/0\?-.\{8\}\(.\)\S* /\1/g

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page