import re,os print re.sub(r'<([sd][e-t]*>)(.+?)<.\1',lambda x:x.group(2)+'^H'*len(x.group(2)),os.read(0,1e5))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page