[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regexp filter
From: |
Johan Bockgård |
Subject: |
Re: regexp filter |
Date: |
Wed, 05 May 2004 18:26:32 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (usg-unix-v) |
David Magda <dmagda+trace040423@ee.ryerson.ca> writes:
> 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 ('\ ').
.* [[:digit:]]\{4\}$
--
Johan Bockgård