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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Given a Regexp or String, passes if actual.match(pattern)
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  email.should match(/^([^\\s]+)((?:[-a-z0-9]+\\.)+[a-z]{2,})$/i)\n  email.should match(&quot;@example.com&quot;)\n"
full_name: Spec::Matchers#match
is_singleton: false
name: match
params: |
  should match(pattern)
  should_not match(pattern)

visibility: public
