Hi,

At Tue, 4 Nov 2008 15:12:31 +0900,
James M. Lawrence wrote in [ruby-core:19690]:
> % ruby -r pathname -e 'p Pathname("foo") =~ /o/'
> nil
> 
> % ruby -r ./lib/pathname.patched.rb -e 'p Pathname("foo") =~ /o/'
> 1

In Ruby, Regexp#=~ would be used more preferably than
String#=~, I guess.

$ ruby -r pathname -e 'p /o/ =~ Pathname("foo")'
1

-- 
Nobu Nakada