Article View: news.software.readers
Article #127967Re: HELP: regexp for spam filter in SLRN
From: Sven Guckes
Date: Mon, 07 Jul 2003 14:50
Date: Mon, 07 Jul 2003 14:50
33 lines
2298 bytes
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
Technical Details
Message-ID:
<2003-07-07T14-45-51@guckes.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!lin207.mi.fu-berlin.DE!not-for-mailReferences:
<f68Oa.86547$Io.7630297@newsread2.prod.itd.earthlink.net>Show Full Headers
Complete Article Headers
Message-ID: <2003-07-07T14-45-51@guckes.net> Subject: Re: HELP: regexp for spam filter in SLRN Date: Mon, 07 Jul 2003 14:50:13 +0000 From: Sven Guckes <guc...@math.fu-berlin.de> References: <f68Oa.86547$Io.7630297@newsread2.prod.itd.earthlink.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!lin207.mi.fu-berlin.DE!not-for-mail Newsgroups: alt.lang.s-lang,news.software.readers Followup-To: news.software.readers Organization: Freie Universitaet Berlin Lines: 32 Reply-To: guckes...@math.fu-berlin.de NNTP-Posting-Host: lin207.mi.fu-berlin.de (160.45.45.207) X-Trace: fu-berlin.de 1057589413 3605837 160.45.45.207 (16 17 19) Mail-Copies-To: guckes-u...@math.fu-berlin.de User-Agent: slrn/0.9.7.4pl2 (Linux)