You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Duncan Findlay <du...@rogers.com> on 2007/08/04 23:33:00 UTC

Re: add a new rule type: single-line body?

On Jul 27, 2007, at 7:08 AM, Justin Mason wrote:

> Just wondering.  would it be handy to have a new "body" type, the  
> same as
> "body" but matched as a single string, with all newlines converted  
> to " "?
> in other words, this text:

[...]

> ie, no newlines, all whitespace converted to " ".  this would be  
> optimal
> for matching with phrase rules.  (To avoid exponential-runtime .*
> problems, it'd chop the text after the first 8000 characters or so.)

How is this different than rawbody /s rules?