Closed ksss closed 8 years ago
"a" == /a/ #=> false /a/ == "a" #=> wrong argument type String (expected Data) (TypeError)
But, ISO say
15.2.15.7.3 Regexp#== a) If _other_ is not an instance of the class Regexp, return false
Thank you
But, ISO say