From: Tim Hunter Date: 2006-05-26T21:05:52+09:00 Subject: Re: String Match method =~ error Leslie Viljoen wrote: > On 5/26/06, mitchell wrote: >> > from (irb):1 >> > >> > I have tried this on a couple of different environments but always >> > Ruby 1.8.4. Can anyone provide me with any insight as to why I don't >> > get the nil return value? >> > >> > tim >> >> "cat o' 9 tails" =~ /\d/ > > ie. Ruby Doc is wrong? More likely just outdated. What "Ruby Doc" are you reading? I believe this behavior changed between 1.6 and 1.8. -- Posted via http://www.ruby-forum.com/.