From: Chris Date: 2002-04-11T12:35:19+09:00 Subject: Re: RegExp for "AND" search pattern... In article <20020411031132.6B96E114F@sharui.nakada.kanuma.tochigi.jp>, nobu.nokada@softhome.net wrote: > > x.type == "Regexp" ? x : Regexp.new(Regexp.escape(x.to_s)) > > Kernel#type returns class itself, not class name. Oops. You know, my desk is collecting a series of nice forehead-shaped dents from stupid overights like this.