From: Kurt Stephens Date: 2009-09-17T06:26:59+09:00 Subject: [ruby-core:25619] [Feature #1882] MatchData#== Issue #1882 has been updated by Kurt Stephens. + if (!rb_reg_equal(RMATCH(match1)->regexp, RMATCH(match2)->regexp)) return Qfalse; Is this really what we want here? Do we really care if the source Regexp is the same? m1 = /(foo?)(bar)/.match("fobar") m2 = /(fo)(bar)/.match("fobar") m1[0] == m2[0] m1[1] == m2[1] m1[2] == m2[2] ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1882 ---------------------------------------- http://redmine.ruby-lang.org