--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Matches any object that matches <tt>regular_expression</tt>.
- !ruby/struct:SM::Flow::VERB 
  body: "  object = mock()\n  object.expects(:method_1).with(regexp_matches(/e/))\n  object.method_1('hello')\n  # no error raised\n\n  object = mock()\n  object.expects(:method_1).with(regexp_matches(/a/))\n  object.method_1('hello')\n  # error raised, because method_1 was not called with a parameter that matched the\n  # regular expression\n"
full_name: Mocha::ParameterMatchers#regexp_matches
is_singleton: false
name: regexp_matches
params: " regexp_matches(regular_expression) -> parameter_matcher\n"
visibility: public
