From: Joel VanderWerf Date: 2001-04-25T17:10:08+09:00 Subject: [ruby-talk:14205] Re: gsub and literal strings Aha! Regexp.escape. I'm still puzzled by the different semantics of String#[]= and gsub, though. Joel VanderWerf wrote: > > How do you do a global string substitution when the pattern string is > given and may contain characters like $ * and so on? .... -- Joel VanderWerf skeeler@sirius.com