Re: OT: regexp spam filter
On Mon, May 20, 2002 at 02:19:28PM -0700, Alan Su wrote:
> the following regexp *should work:
> it's not really obscure, but it's not really all that clever either.
> =) i'm sure there are more "compact" solutions out there!
Slightly more compact would be to use character classes:
Both this and the above depend on what tool you're using. These are Perl
regexps or extended regexps (not the same thing, but compatible in this
case); if you're in something that uses basic regexps instead (e.g.
grep, by default), then you want:
Colin Watson [email@example.com]
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com