From: Tom Pollard Date: 2007-03-13T02:02:40+09:00 Subject: Re: Efficiency of string parsing On Mar 12, 2007, at 12:35 PM, John Joyce wrote: > Excellent sollution for coding efficiency. (though, I always think > Regular Expressions should be commented well (broken into parts) > due to the terseness of the syntax, especially for those who don't > use RegEx regularly. (no pun, really) > > But would a Ruby iterator be faster? I'm just curious what it is about Ruby iterators (I assume you mean methods like 'each') that you'd expect them to be more efficient than the gsub? Tom