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