From: nobu.nokada@... Date: 2002-04-11T11:12:32+09:00 Subject: Re: Am I going mad? Works in IRB not in a file! Hi, At Thu, 11 Apr 2002 08:25:21 +0900, Ralph Mason wrote: > Run from IRB the output is > > irb(main):047:0> x = "\"CommaTest, After\", More" > "\"CommaTest, After\", More" > irb(main):048:0> x.gsub!(/\"(.*),(.*)\"/,"#{$1}~#{$2}") > "CommaTest~ After, More" > irb(main):049:0> p x > "CommaTest~ After, More" > nil > > What is going on here? Perhaps, you might repeat that substitution? -- Nobu Nakada