🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #84430

Re: [Xnews] scoring all-caps posts and replies

#84430
From: Lawrence Mitchell
Date: Mon, 17 Sep 2001 19:06
30 lines
2029 bytes
In <Xns911F7C41DCB09knight37m@209.155.56.81> Knight37 writes:
> I am having trouble with this but I took it from the sample-score.ini:

You almost did, but not quite ;-)

>     % any ALL CAPS subject lines
>     Score:: -8000
           ^^ You only need one colon here.
>     ~Subject= .*[a-z]
>     % and also kill followups to ALL CAPS subjects
> %    Score:: -8000
            ^^ You _definately_ want only one colon here, the
double-colon means the score matches if _any_ of the following
score-rules match.  You want one colon so that it reads:
Score: -8000
    Subject= ^[Rr][Ee]: [^a-z]*$
    Subject= ^[Rr][Ee]: .*[A-Z]

If the subject contains no lower case letters AND starts with a
capital letter.

It currently reads, "give an article a score of -8000 if:
the subject contains no lower case letters OR starts with a capital
letter."


-- 
Lawrence Mitchell <wence+sig@newald.homeip.net> | \\\\__. | Hedgehog?
<URL:http://wence.newald.homeip.net/>           | \\\\'/  | It's a porcupine.
Technical Details
Message-ID: <slrn9qcgro.3vghcmr.wence+uf@ID-97657.user.dfncis.de>
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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!m133-mp1-cvx1a.swa.ntl.COM!not-for-mail
References: <Xns911F7C41DCB09knight37m@209.155.56.81>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9qcgro.3vghcmr.wence+uf@ID-97657.user.dfncis.de>
Subject: Re: [Xnews] scoring all-caps posts and replies
Date: Mon, 17 Sep 2001 19:06:49 +0000
From: Lawrence Mitchell <wence+uf@newald.homeip.net>
References: <Xns911F7C41DCB09knight37m@209.155.56.81>
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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!m133-mp1-cvx1a.swa.ntl.COM!not-for-mail
Newsgroups: news.software.readers
Organization: funfunfun
Lines: 29
Reply-To: wence+u@newald.homeip.net
NNTP-Posting-Host: m133-mp1-cvx1a.swa.ntl.com (213.104.136.133)
X-Trace: fu-berlin.de 1000753609 11525593 213.104.136.133 (16 [97657])
Mail-Copies-To: nobody
X-No-Yes: Not any more
User-Agent: slrn/0.9.7.2 (Win32)