Issue #896 has been updated by Ryan Davis.

Status changed from Open to Closed

Argument order fixed. Sorry.

I left in respond_to check for ~= and non-forcing of Regexp.new. This allows assert_match to be used with custom objects that define =~. Not everything should be text oriented for assert_match.

Also fixed refute_match and made it act the same wrt respond_to etc.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/896

----------------------------------------
http://redmine.ruby-lang.org