Michael Fellinger wrote:

> Since we got the power of regex/gsub, let's use it :)

Michael,

Thanks.  I agree that in practice your code is better.
I am a newbie who does not yet feel comfortable with
regular expressions, but I see what you have done.

Ian
-- 
Posted via http://www.ruby-forum.com/.