https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6649

--- Comment #4 from Darxus <[email protected]> 2011-08-15 21:10:50 UTC ---
Created attachment 4954
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=4954
Patch to escape linefeeds in re2c input, against trunk

This might do it:

  $output =~ s/\n/\\n/g; # escape linefeeds

Near the end of lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm.  It
makes the error go away.  Still need to test that it's actually creating useful
output.

http://re2c.org/manual.html says ANSI-C escape sequences (which \n is) are
allowed in strings.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to