#!ruby -p 1while sub!(/.(\d+).B@([^\[]+?)(\[?(\d+)((:.)|.B@(?!.*:)))/){$2+($6?".":",")*$3.size+"[#{eval$1+"+"+$4}]B@"}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page