From: Sam Phoneix Date: 2008-01-04T06:23:13+09:00 Subject: Why does this code not return what I expect it to? Heres the code. Why does it miss out the "a" character? ------------------------------------------ "This is a test".scan(/\w\w/) {|x| puts x} ------------------------------------------ Thanks -- Posted via http://www.ruby-forum.com/.