http://bugzilla.spamassassin.org/show_bug.cgi?id=4570





------- Additional Comments From [EMAIL PROTECTED]  2005-09-08 12:57 -------
Both s and m are needed for ^ and .* to each have the correct meanings in that
expression. From man perlretut:

"both s and m modifiers (//sm): Treat string as a single long line, but detect
multiple lines.  ’.’ matches any character, even "\n".  "^" and "$", however,
are able to match at the start or end of any line within the string."

The ^ in the expression finds header strings at the beginning of lines within
the multi-line string, but .* will match the embedded \n characters with the
negated lookahead stoppping before the start of the next header.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to