From: Joel Pearson Date: 2013-01-29T03:16:32+09:00 Subject: Re: Please explain in English "Jesús Gabriel y Galán" wrote in post #1094106: > string.downcase.scan(/\w+/) {|word| res[word] += 1} I tried benchmarking out of curiosity and that is a lot faster! Nicely done. -- Posted via http://www.ruby-forum.com/.