From: Hirotsugu Asari Date: 2009-06-21T10:56:58+09:00 Subject: [ruby-core:23954] Re: [Bug #1661](Rejected) RegExp mismatch On Jun 20, 2009, at 7:43 PM, Nobuyoshi Nakada wrote: > Hi, > > At Sat, 20 Jun 2009 10:31:26 +0900, > Hirotsugu Asari wrote in [ruby-core:23942]: >> It seems counterintuitive to me that >> >> Regexp.new(re,Regexp::EXTENDED).eql?(/#{re}/x) >> >> can be false for any string 're'. (In this case, re="\s*") > > It's not the point. > "\s*" equals to " *" but not to '\s*' (or "\\s*"). > > -- > Nobu Nakada > Oh, I see it now. I apologize for the noise.