From: Phrogz Date: 2007-01-22T00:45:06+09:00 Subject: Re: gsub and backslashes John Wright wrote: > Say I want to replace all occurrences of \ in a string with \\: This is a FAQ. Please search the mailing list archives and the web; there have been numerous discussions of it, articles written about it, and it's addressed in the free online version of Programming Ruby. Definitely come back with more questions if you really can't find the answer online, though.