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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Determine if there is any fields that match the given <tt>name</tt> and <tt>value</tt>.
- !ruby/struct:SM::Flow::P 
  body: If <tt>name</tt> is a String, all fields of that name are tested. If <tt>name</tt> is a Regexp the field names are matched against the regexp (the field names are converted to lower case first). Use the regexp // if you want to test all field names.
- !ruby/struct:SM::Flow::P 
  body: If <tt>value</tt> is a String, it is converted to a case insensitive Regexp that matches the string. Otherwise, it must be a Regexp. Note that the field value may be folded across many lines, so you should use a multi-line Regexp. Also consider using a case insensitive Regexp. Use the regexp // if you want to match all possible field values.
- !ruby/struct:SM::Flow::P 
  body: Returns true if there is a match, false otherwise.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "   if h.match?('x-ml-name', /ruby-dev/im)\n     # do something\n   end\n"
- !ruby/struct:SM::Flow::P 
  body: "See also: #match"
full_name: RMail::Header#match?
is_singleton: false
name: match?
params: (name, value)
visibility: public
