Code Festival D Compress numbers by tails

:
s/\(\(.\).*<\)\2\|\(.B\).*B\w/B\1\3/
t
s/.*B\(\w\).*>/\1/
s/\(.*\)\(.* \)\1/\2/
/^0* $/cYES
s/../0987654321<&>/
t
cNO

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

download

return to the top page