🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230259

Re: [slrn] Scorefile dummy question

#230259
From: Troy Piggins
Date: Fri, 13 Feb 2009 20:58
51 lines
3202 bytes
* notbob wrote :
>* Steve Ackman wrote :
>>* notbob wrote :
>
>>   Another one along those lines I've considered, but
>> haven't actually added is,
>>      Subject: [Cc]hina
>>      Subject: CHINA
>
> I was looking how to do both John and Smith on one Subject line.  Would
> something like [John|Smith] work?  I now see how the OR logic operator works
> with different header items.  I added a Message-ID line and it still works.
<snip />

No.  slrn doesn't do those kinds of "OR" regular expressions.

Just to be clear in case you didn't realise, and because I don't
know the exact patterns of rubbish you're trying to get rid of,
the rule that's been used as a simple example here:

[whatever.group]
Score:: =-9999
Subject: John
Subject: Smith

will kill any post with "John", or "Johnson", or "Smith", or
"Smithfield", or anything else with those strings in it.

I would think if you specifically didn't want "John Smith" in the
subject heading, you'd go with an "AND" score rule by using
"Score:" instead of "Score::"

Additionally, I'd add word boundary delimiters to avoid
killfiling "Johnson" etc.

[whatever.group]
Score: =-9999
Subject: \<John\>
Subject: \<Smith\>

This will kill any post with just the word "John" AND "Smith" in
the subject, case insensitive.  Other words can be in between
them and it'll still match.

Is that more along the lines you want?

Perhaps posting some example headers of posts you want to kill
will help?

-- 
Troy Piggins
Technical Details
Message-ID: <20090214064750@usenet.piggo.com>
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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <aEell.3296$7r7.2979@newsfe25.iad> <slrngpav49.bfa.catwheezel@ID-107770.user.individual.net> <fEfll.134$EO2.9@newsfe04.iad> <slrngpb5gs.bfa.catwheezel@ID-107770.user.individual.net> <Aghll.127$r54.121@newsfe15.iad> <slrngpbg8c.9dl.steve@sorceror.wizard.dyndns.org> <STjll.348$uG1.337@newsfe16.iad>

Show Full Headers
Complete Article Headers
Message-ID: <20090214064750@usenet.piggo.com>
Subject: Re: [slrn] Scorefile dummy question
Date: Sat, 14 Feb 2009 06:58:00 +1000
From: Troy Piggins <usenet-0902@piggo.com>
References: <aEell.3296$7r7.2979@newsfe25.iad> <slrngpav49.bfa.catwheezel@ID-107770.user.individual.net> <fEfll.134$EO2.9@newsfe04.iad> <slrngpb5gs.bfa.catwheezel@ID-107770.user.individual.net> <Aghll.127$r54.121@newsfe15.iad> <slrngpbg8c.9dl.steve@sorceror.wizard.dyndns.org> <STjll.348$uG1.337@newsfe16.iad>
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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 51
Reply-To: usenet-0902@piggo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1/71D+tH4H5zQxzMukQRMbeU5xEtj8tmgSM8UfHfUmcgxVNCQkStUrKeK9+/WnSMsnDQY7KYV1ljX6ffFSA/PwA+/FM7/fESLcUFY35qc+BL24+/gwA2XiSLTvhEecCzoPlwlVF36UAjw==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Fri, 13 Feb 2009 20:57:22 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/W7QYnAox9XEhV+ZU2Y/dL30q64ylrBfqGgBObgjyTTg==
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:NGMZxouVuIDuxZ+aVpwtrGeXis0=
User-Agent: slrn/pre1.0.0-2/rt (Linux)