From: Patrick Gundlach Date: 2004-05-31T05:08:40+09:00 Subject: Re: gsub!, replace with \' Andreas Schwarz writes: > puts "hello".gsub!(/h/,"\\\\'") > > "\\" is reserved for backreferences. Hello Andreas, Oh, yes. This works fine. Thank you (and of course Simon). Patrick