#!ruby -p0 gsub('.'){[n=0,*39..41].map{|i|n+=[$`[~i],$'[i]].count 42};n>0?n:$&}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page