From: Jamie Macey Date: 2006-11-25T09:19:23+09:00 Subject: Re: [QUIZ] DictionaryMatcher (#103) On 11/24/06, Ruby Quiz wrote: > # will automatically work as a result of implementing > # DictionaryMatcher#=~ (see String#=~) > "long string" =~ dm # => true On my machine (ruby 1.8.4), I don't get this result. For me, 'long string' =~ /string/ returns the same as /string/ =~ 'long string', which is 5, not true. Just a heads-up for anyone else using the provided code as the basis for a test case. - Jamie