🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #248929

Re: Xnews: grouped scoring recipes?

#248929
From: Mike Dee
Date: Sun, 19 Feb 2012 12:56
31 lines
2203 bytes
Nil wrote:

> Can Xnews's scoring system handle grouped clauses, like are shown in 
> this page about SLRN's scoring?
> 
> http://www.slrn.org/docs/score.txt
> 
> (scroll all the way down to the bottom)
> 
> When I try to set up a rule like this, Xnews complains "Invalid test 
> expression "{: at line 198}". 
> 

No, it doesn't parse those curly braces.

For that particular example it has to use two entries:

Score: -9999
 ~Subject= .*[a-z]
 % does not contain one lowercase letter in subject :-)

Score: -9999
 Subject= ^[Rr][Ee]: [^a-z]*$
 % the article will be killed if the subject begins with "Re: "
 % and the rest of the line does not contain a lowercase
 % character.

OTOH, Xnews can do some scoring tricks slrn cannot.

-- 
dee
Technical Details
Message-ID: <Xns9FFEF39007773mikedee@emteedee.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
References: <Xns9FFBC0A391854nilch1@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9FFEF39007773mikedee@emteedee.invalid>
Subject: Re: Xnews: grouped scoring recipes?
Date: Sun, 19 Feb 2012 12:56:28 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <Xns9FFBC0A391854nilch1@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Feb 2012 12:56:28 +0000 (UTC)
Injection-Info: mx04.eternal-september.org;
 posting-host="uo11Att60qndkOA5SYvUZw";
 logging-data="11676"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/TUWbuv/tbr3FEr6TyHic9"
User-Agent: Xnews/2009.05.01
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
Cancel-Lock: sha1:F8o8jnppN1i+ggVr5Kw8Qn1q6Qk=
X-Original-Bytes: 1920