Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

matching devious non ascii spam strings
To match the name of a famous spam drug for spamassassin, I use
/v[il1\xA0-\xFF]agra/i
as they now are using all the accented versions of "i".
I suppose I will have to do the same for the a's etc. too.
I have just used the entire range I see on "man iso_8859_1" and more,
rather than whittle it down. I don't suppose there are much better ways.

Report this thread to moderator Post Follow-up to this message
Old Post
Dan Jacobson
09-25-04 01:56 AM


Re: matching devious non ascii spam strings
Dan Jacobson wrote:

> To match the name of a famous spam drug for spamassassin, I use
> /v[il1\xA0-\xFF]agra/i
> as they now are using all the accented versions of "i".
> I suppose I will have to do the same for the a's etc. too.
> I have just used the entire range I see on "man iso_8859_1" and more,
> rather than whittle it down. I don't suppose there are much better ways.

The Bayesian filters worry about that kind of crud automatically.
Let them do the work.

--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Mattern
09-25-04 08:59 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Miscellaneous archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:23 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.