Hi,

In message "Re: [patch] gsub with backslash characters in replacement string"
    on Thu, 26 Apr 2007 17:09:42 +0900, "Adam Bozanich" <adam.boz / gmail.com> writes:

|Hello, spotted this one the other day:
|
|irb(main):001:0> '\\'.gsub('\\','\\\\')
|=> "\\"
|irb(main):002:0> '\\'.gsub('\\','\\\\\\')
|=> "\\\\"
|
|The following patch seems to fix things on my system

It was intentional to escape backslashes in replacement string.
If it were a bug, how do we escape backslashes?  Any idea?

							matz.