s=?I 20.times{puts s s.gsub!(/(.)\1*/){:IIIIIV[5&i=$&.size,i]+$1}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page