On Sat, 17 Dec 2005, M. Lewis wrote: > Charles K. Clarkson wrote: > > M. Lewis <mailto:[EMAIL PROTECTED]> wrote: > > > > : But I don't think the following regex is really doing that: > > : : /micr[qw]o[-]ca[a]p[k][s]/i > > : : Suggestions, corrections welcome. > > > > /Microcap|Micro-cap|MicroCaap|Micrqocap|MicrwoCap|MicroCapks/ > > > > One advantage of this regex is that new obfuscations can > > be added very easily. > > > > > > HTH, > > > > Charles K. Clarkson > > Thanks Charles. I see your point. Initially I had that for up to maybe > 3 or 4 variations. Then I thought I was improving it via the regex. > Your method is certainly clear without even thinking about it a whole > lot. ... of course, the more robust solution is to just install SpamAssassin.
If you run SA with the Bayesian filtering -- the default now, I think -- it should automatically learn to pick up on junk like this over time. Plus, it uses a few hundred other metrics for determining if a message is spam, including querying whether messages, URLs in messages, and mail servers messages flow through are on blacklists. Your time and your life is too valuable to spend it thinking this much about spam. Take your life back. Just use SpamAssassin and get on with more interesting things :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>