🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Sven Guckes Mon, 07 Jul 2003 14:50
Re: HELP: regexp for spam filter in SLRN
#127967
Author: Sven Guckes
Date: Mon, 07 Jul 2003 14:50
33 lines
2298 bytes
* Michael DeBusk <m_de...@despammed.com>:
> I'm trying to create a score in SLRN to mark spam with the common
> subject line configuration of a series of spaces ending with a number.
> .. I want to look at the end of the subject and, if there's
> at least two spaces followed by a number, I want it scored.
>
> .. What I have is this, and it's worked so far:
>   Subject: \ \ [0-9]+$
>
> Is this doing what I want it to do without doing something
> I don't want it to do? Is there a better way?

that's exactly the way i'd do it, too.  look fine to me. :-)

> My problem is I'm pretty ignorant of the way regexps
> work, and it's so rare that I need them that I
> haven't sat down with them and really worked at it.

you can find some examples in my slrn.score (see sig).

however, scores don't have much to do with s-lang
(except for the regexp part), so i'll move this
over to news.software.readers where more people
are posting and reading about slrn.

Sven

-- 
Sven Guckes gucke...@math.fu-berlin.de [slrn-version]  latest version:
SLRN Home Page:       http://www.slrn.org/          slrn-0.9.7.4 [2002-03-13]
SLRN sample setup:    http://www.math.fu-berlin.de/~guckes/setup/slrnrc
SLRN sample score:    http://www.math.fu-berlin.de/~guckes/setup/slrn.score
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads