coma_killen / fastmail.fm wrote:
> Hi,

> I'm a bit confused on how to use gsub when the string I want
> to substitute for can contain "\\" and "?" etc.

Hi,

There are some examples on how deal with '\\' (but not '?') in Item 20 in
"Things That Newcomers to Ruby Should Know":

    http://www.glue.umd.edu/~billtj/ruby.html#backslashes

Regards,

Bill