From: Jeremy Tregunna Date: 2005-09-30T15:57:58+09:00 Subject: Re: ruby gsub! problem On 30-Sep-05, at 2:50 AM, Kev Jackson wrote: > Hi all, > > I need to escape / in a gsub! > > eg > > line = line.gsub!(///, '') line.gsub!(/\//, '') > > Unfortunately I don't know how to escape the / (forward slash) - the > data I'm munging has this in it (annoyingly) > > Kev > > > !DSPAM:433ce04c757271272720660! > > -- Jeremy Tregunna jtregunna@blurgle.ca "If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra