Hi John, its great to see you online and kicking!  :-)

The spam depicted in spam1.jpg was an interesting challenge for me.  This is along the lines of what I came up with:

----------
BGCOLOR=(['".]|).[EF].[EF].[^>]*>.*?<FONT.*?COLOR=(['".]|).[EF].[EF].#  spam - light-colored background with light-colored text
----------

I didn't bother trying to match words which were completely broken up in HTML - I matched the way the spammer tried to trick you into interpreting them - by using light-colored text.  My regex matches similarly shaded background and font colors.

This worked great for me.  But, I'd be interested to hear what other ways other people attacked this issue.


John Hanna wrote:
I glanced at Julius' documentation and it looks like it might be helpful for those struggling with writing regular expressions for assp. I put a copy at http://assp.sourceforge.net/regex.zip which really isn't the right place for it. If someone looks at it and finds it useful, it might be good to make a reference to it on the Wiki?

John

<[EMAIL PROTECTED]> wrote:
Date: Tue, 1 Aug 2006 08:58:05 +0300
From: jcduque <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: spam filtering PDF doc using regex

Hi,

I made a spam filtering document in PDF (for pleasant reading) using
ASSP. In particular, I find ASSP's use of regular expressions very
instructive, both in learning about regular expressions and in
fighting spams. The document pertains to ASSP 1.2.1, but I hope the
doc is still applicable to the current ASSP release.

Also, I sent this same document to freshmeat, but I have yet to receive a reply.

Regards,
Julius


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.


------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


_______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to