Article View: news.software.readers
Article #248938Re: Xnews: grouped scoring recipes?
From: John Wunderlich
Date: Mon, 20 Feb 2012 18:40
Date: Mon, 20 Feb 2012 18:40
28 lines
2114 bytes
2114 bytes
Mike Dee <mikedee@emteedee.invalid> wrote in news:Xns9FFEF39007773mikedee@emteedee.invalid: > 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. > Well, you _can_ do it with a single entry. By placing an extra colon after the "Score" entry (ie double colon), you change the sense of the statements after it from an "AND" to an "OR" condition so the equivalent single statement would be: Score:: -9999 ~Subject= .*[a-z] Subject= ^[Rr][Ee]: [^a-z]*$ (See line 77 of the scoring.txt file that accompanies Xnews) --John
Technical Details
Message-ID:
<Xns9FFF6C8AC9A9Fwunderpsdrscray@138.125.254.103>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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!bos-service2b.ext.ray.com.POSTED!53ab2750!not-for-mailReferences:
<Xns9FFBC0A391854nilch1@127.0.0.1> <Xns9FFEF39007773mikedee@emteedee.invalid>Show Full Headers
Complete Article Headers
Message-ID: <Xns9FFF6C8AC9A9Fwunderpsdrscray@138.125.254.103> Subject: Re: Xnews: grouped scoring recipes? Date: Mon, 20 Feb 2012 18:40:12 GMT From: John Wunderlich <jwunderlich@lycos.com> References: <Xns9FFBC0A391854nilch1@127.0.0.1> <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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!bos-service2b.ext.ray.com.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/2006.08.24 Lines: 28 NNTP-Posting-Host: 147.19.113.200 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2b.ext.ray.com 1329763212 147.19.113.200 (Mon, NNTP-Posting-Date: Mon, 20 Feb 2012 12:40:12 CST Organization: Raytheon Company X-Original-Bytes: 1931