class Mail::Body
def =~(regexp)
body.encoding = 'base64'
body = Mail::Body.new("VGhlIGJvZHk=\n")
body =~ /The/ #=> 0
body = Mail::Body.new('The body')
Examples:
Accepts a string and performs a regular expression against the decoded text
def =~(regexp) self.decoded =~ regexp end