On Thu, 30 Oct 2003 16:15:50 -0500, Fred   I-IS.COM <[EMAIL PROTECTED]>
posted to gmane.mail.spam.spamassassin.general:
 > I'm trying to write a rule to count how many chr's are in a HTML message.
 > My test rule looks like:
 > full    T_FOO    /<html>.{60,110}<\/html>/i
 > The problem is that none of the test options (rawbody, body, full)
 > provide the ability to test the entire message like this.

Try adding an /s:

  full    T_FOO    /<html.{60,100}<\/html>/is

Normally the . in a Perl regular expression cannot match a newline,
but adding the /s changes that.

Hope this helps,

/* era */

-- 
The email address era     the contact information   Just for kicks, imagine
at iki dot fi is heavily  link on my home page at   what it's like to get
spam filtered.  If you    <http://www.iki.fi/era/>  500 pieces of spam for
want to reach me, see     instead.                  each wanted message.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to