From: Mark Bush Date: 2008-02-26T00:59:30+09:00 Subject: Re: "OneLiner" - replacement Mark Bush wrote: > Replace the '.' by a ';' between the two calls to gsub or replace the > two calls to gsub by calls to gsub! (keeping your '.') and you should be > ok. Actually, forget chaining the calls to gsub! as you'll bomb if no sub is made. Sorry. Just use separate call to gsub rather than chaining them. -- Posted via http://www.ruby-forum.com/.