🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265270

Re: [slrn[ score question

#265270
From: Adam Funk
Date: Sat, 04 Dec 2021 19:21
67 lines
2643 bytes
On 2021-12-04, Lewis wrote:

> In message <sj6s7ix9at.ln2@news.ducksburg.com> Adam Funk <a24061@ducksburg.com> wrote:
>> On 2021-12-03, Lewis wrote:
>
>>> It's been a long time since I first setup my slrn scroe file, and when
>>> looking through it today I came across this and realized I don't
>>> remember what it manes anymore, though it seemed important at the time
>>> as it it near the top of the score file.
>>>
>>> Score:: -800
>>> ~Subject: \c[a-z]
>>>        {:
>>>                Subject: ^Re:
>>>                ~Subject: ^Re:.*\c[a-z]
>>>        }
>>>
>>> Heck I can't even remember how Score:: is different from Score::
>
>> 'Score:' is an AND (the rule fires if all the conditions are met);
>> 'Score::' is an OR (the rule fires if any condition is met).
>
> I thought the : and :: applied to subclauses like in your example. I
> just didn't remember you could do it on the Score line. I usually
> manually create

I know Score:: is OR because I have rules that work, e.g.,

Score:: +10
	From: alice@example.com
	From: bob@example.org



> Score: #
>  {::
>    list of or matches
>  }
>
>> And you can nest the boolean operators with the brackets. Here's a
>> weird example I found in my score file:
>
>> Score: 45
>>        {::
>>        Subject: chemical
>>        Subject: chemistry
>>        Subject: lab
>>       }
>>        {::
>>        Subject: supplier
>>        Subject: supplies
>>        Subject: supply
>>       }
>
>> That will match any post whose Subject contains one or more word from
>> each list (in any order).
>
>> I don't remember what the \c in your example does, but I'm curious!
>
> Me too!

Well, let me know if you find out!


-- 
is it any wonder that my mind's on fire,
imprisoned by the thoughts of what to do?
Technical Details
Message-ID: <gnrs7ixive.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <sj6s7ix9at.ln2@news.ducksburg.com> <slrnsqmtsa.2qej.g.kreme@zephyrus.local>

Show Full Headers
Complete Article Headers
Message-ID: <gnrs7ixive.ln2@news.ducksburg.com>
Subject: Re: [slrn[ score question
Date: Sat, 04 Dec 2021 19:21:52 +0000
From: Adam Funk <a24061@ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <sj6s7ix9at.ln2@news.ducksburg.com> <slrnsqmtsa.2qej.g.kreme@zephyrus.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 67
X-Trace: individual.net Fmnl9RyGbhE0n+3wMsXqjgSH0eRmhHSmy4LaFnh0IR9g+pqU0B
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:eY61/xgcalggOJjScXd6YY2JJcE= sha1:qh3tARf5XdhHsfthelqjEa/MU5Q=
User-Agent: slrn/pre1.0.4-2 (Linux)