🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #114966

Re: [slrn] Stupid newbie question: Not killing -9999 posts

#114966
From: J.B. Nicholson-Owens
Date: Sun, 24 Nov 2002 09:18
24 lines
1796 bytes
Ciro wrote:
> I have the following rule in my scorefile that kills
> anything crossposted to 3 or more newsgroups[...]
>
> [*]
> Score: =-9999
>         Xref: [^:]+:[^:]+:[^:]

Actually, that will match 2 or more newsgroup crossposts (in other words,
that regular expression will match all crossposts).  A brief note about this
regular expression: this could be simplified by removing the leading and
trailing "[^:]" which don't do anything for you in this context.  I think
the resulting regular expression will be more clear too.

The expression is anchored on the colons.  The "[^:]+" (which means at least
one character that is not a colon) is just to match the text between the
more interesting colons.  So try:

   Xref: :[^:]:[^:]:

to match 3 or more newsgroup:article-number pairings in the Xref: header.

Happy newsreading.
Technical Details
Message-ID: <slrnau17fb.lqs.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <EcHD9.5331$OZ4.523920@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnau17fb.lqs.jbn@forestfield.org>
Subject: Re: [slrn] Stupid newbie question: Not killing -9999 posts
Date: Sun, 24 Nov 2002 09:18:45 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <EcHD9.5331$OZ4.523920@newsread1.prod.itd.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 23
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 1038129525 22070249 208.216.67.173 (16 [35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4pl1 (Linux)