You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Charles Gregory <cg...@hwcn.org> on 2004/04/05 18:53:45 UTC
UPDATED HTMLSPLITFONT RULE (sneaky blighters)
On Mon, 5 Apr 2004, Robert Brooks wrote:
> Loren Wilton wrote:
> > <font color="#F3FBF0
> > " size="1">
> > Ew, cute trick that. Make catching the 1pt font size kinda hard...
Actually that's not '1 point' it's font size '1' which is about an 8 pt.
But I have updated my split font rule to inlcude having the split:
- inside or outside the quotes,
- with or without quotes,
- before or after the color number
- with or without other properties (like size) before or after the color.
Unwrap the first line.....
full LOC_HTMLSPLITFONT
/<font[^>]*color="?(?:\n{1,3}"?\#[a-z0-9]{6}|\#[a-z0-9]{6}\n{1,3})[^>]*\>/i
describe LOC_HTMLSPLITFONT font color split on two lines
score LOC_HTMLSPLITFONT 0.7
- Charles