[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
regexp filter
From: |
David Magda |
Subject: |
regexp filter |
Date: |
05 May 2004 11:23:03 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hello,
Trying to setup use a filter (through 'L') to get rid of common span
in Usenet. Specifically, I'm trying to get rid of spam with subject
line like the following:
Britney Spears and justin timberlake 8272
So I do a key sequence of L-> s -> r -> t. When asked for the string
I tried ".* [:digit:]{4}" as well as ".* [0-9]{4}" (throwing in a $
at the end would also make the regexp more precise). I also tried
escaping the spaces ('\ ').
The above spam (and many others like it) have a predictable sequence
of '<space><space><number><number><number><number>'.
Any ideas?
--
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
- regexp filter,
David Magda <=