http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5056





------- Additional Comments From [EMAIL PROTECTED]  2006-12-25 21:43 -------
Please don't beat me.... :-)

It looks to me like this is a bug in SpamAssassin.

While Text::Wrap did change, the change uncovered an SA bug.

The pattern '(?<=[\s,])' (Passed in the line:

./lib/Mail/SpamAssassin/PerMsgStatus.pm:996:      $hdr =
Mail::SpamAssassin::Util::wrap($hdr, "\t", "", 79, 0, '(?<=[\s,])'); 

 is used with a *.  The pattern is a zero-width assertion.  
How many times should a zero width assertion match when used
with the "*" operator (meaning repeat previous grouping until false).

What may have been meant here was simply '[\s,]'.
The pattern gets used as the "breaking" delimiter pattern to split lines.
It defaults to '\s' in the code and was _hardcoded_ as '\s' in the 
prior version that worked.

-linda



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

Reply via email to