From: Nikolai Weibull Date: 2011-10-13T03:30:35+09:00 Subject: [ruby-core:40123] Re: [Ruby - Bug #1443] String#gsub handles backslashes incorrectly On Wed, Oct 12, 2011 at 19:38, Moxley Stratton wrote: > puts "\\" > \ > puts "s".gsub("s", "\\") > \ There���s nothing to escape, thus ���\���. > puts "s".gsub("s", "\\\\") > \ There���s a backslash to escape, thus ���\���.