From: matz@... (Yukihiro Matsumoto) Date: 2002-12-18T18:14:07+09:00 Subject: Re: Regex#=== with non-string argument Hi, In message "Regex#=== with non-string argument" on 02/12/18, Joel VanderWerf writes: |I'm surprised: | |x = 1 | |case x |when 5; puts "5" |when 42; puts "42" |when /abc/; puts "matches /abc/" |when "xyz"; puts "xyz" |end | |This is a TypeError. Is there any good reason why? No. I will fix this in the development version. And I confirmed no other === method raise TypeError exception. matz.