From: Sd He Date: 2010-11-10T02:03:06+09:00 Subject: bug in ruby 1.9.2-p0 gsub? Why does the following only replace the first instance of the pattern? '|\\ |\\ |'.gsub(/\|\\ \|/, "||") -- Posted via http://www.ruby-forum.com/.