From: makoto kuwata Date: 2008-02-24T16:44:56+09:00 Subject: Re: difference between StringScanner#scan and Regexp#match Michael Fellinger wrote: > input = 'foo 123' > if (input =~ /\d+/) == 0 >   p $& # doesn't happen > end thank you Michael, but it is slow and not efficient, especially input string is long, I think. -- regards, makoto kuwata