From: Patrick Gundlach Date: 2004-05-31T04:09:14+09:00 Subject: gsub!, replace with \' Dear Ruby-hackers, simple problem: replace a certain letter with \' (backslash apostrophe). ------------------------------ #!/usr/bin/ruby -w puts "hello".gsub!(/h/,"\\'") ------------------------------ result: elloello I would like to get: \'ello What should I try? Patrick