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/.