From: "Kurt M. Dresner" Date: 2003-08-18T07:15:16+09:00 Subject: gsubbing ' to \' I was trying to escape some apostrophes with gsub. The only way I could get it to work is by doing: result.gsub!(/'/) {%q!\'!} There has got to be a better way than this. What was I doing wrong? -Kurt