lib/email_reply_parser.rb
# Detects if a given line is a common reply header.
#
# line - A String line of text from the email.
#
# Returns true if the line is a valid header, or false.
Detects if a given line is a common reply header.
line - A String line of text from the email.

Returns true if the line is a valid header, or false.
Detects if a given line is a common reply header . line - A String line of text from the email . Returns true if the line is a valid header or false .
def line_is_reply_header?(line)
      COMMON_REPLY_HEADER_REGEXES.each do |regex|
        return true if line =~ regex
      end
      false
    end
def line_is_reply_header? ( line ) COMMON_REPLY_HEADER_REGEXES . each do | regex | return true if line =~ regex end false end
Detects if a given line is a common reply header.
Detects if a given line is a common reply header .
line
<not_specific>