From: brandon coleman Date: 2006-07-16T06:05:35+09:00 Subject: Re: using a \ in gsub Austin Ziegler wrote: > On 7/15/06, brandon coleman wrote: >> any suggestions??? > File.expand_path($0).gsub(%r{/}) { "\\" } > > -austin that would give me two c:\\ruby\\ whatever and if I remove a \ it still gives me an error... -- Posted via http://www.ruby-forum.com/.