From: Eric Armstrong Date: 2006-07-29T09:28:09+09:00 Subject: Re: Finding "\" in a string Paul Battley wrote: > On 29/07/06, William James wrote: >> >> puts "\\foo\\bar".gsub(/\\/, '\&\&' ) >> \\foo\\bar > > Nice solution. > I'll say! Wild! What makes /that/ work???