From: tamouse mailing lists Date: 2013-02-10T11:36:02+09:00 Subject: Re: #split vs. #length. Different returns. This: > words = text.scan(/\w+/) "Now is the winter of our discontent".scan(/\w+/) => ["Now", "is", "the", "winter", "of", "our", "discontent"] is not the same as this: > text.split(/\w../) "Now is the winter of our discontent".split(/\w../) => ["", " ", "", " ", "", " ", "", " ", "", "", "t"]