puts a = "1=2-1";5.times do puts a.sub!(/-1/, "-(2-1)") end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page