From: Yukihiro Matsumoto Date: 2005-07-06T18:45:13+09:00 Subject: Re: Object#=~ Hi, In message "Re: Object#=~" on Wed, 6 Jul 2005 11:41:18 +0900, Ryan Davis writes: |Since Rexexp#=~ and String#=~ return nil if they fail to match, |shouldn't Object#=~ return nil as well? It returns false currently. As far as I can say, =~ returns true (non-false) value when it matches, and returns false value (nil or false) when it doesn't match. Making it return nil is trivial, but I'm not sure yet to change. I will try changing it on HEAD. matz.