Article View: news.software.readers
Article #265267Re: [slrn[ score question
From: Lewis
Date: Sat, 04 Dec 2021 14:13
Date: Sat, 04 Dec 2021 14:13
53 lines
2382 bytes
2382 bytes
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
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!
--
Si Hoc Legere Scis Nimium Eruditionis Habes
Technical Details
Message-ID:
<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-mailReferences:
<slrnsqkpt5.1de7.g.kreme@zephyrus.local> <sj6s7ix9at.ln2@news.ducksburg.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnsqmtsa.2qej.g.kreme@zephyrus.local> Subject: Re: [slrn[ score question Date: Sat, 04 Dec 2021 14:13:30 +0000 From: Lewis <g.kreme@kreme.dont-email.me> References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <sj6s7ix9at.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 Newsgroups: news.software.readers Organization: Miskatonic U Lines: 53 Reply-To: g.kreme@gmail.don-t-email-me.com Injection-Date: Sat, 4 Dec 2021 14:13:30 -0000 (UTC) User-Agent: slrn/1.0.3 (Darwin) Cancel-Lock: sha1:8/l0sL5lTNwemR3x66TlLr3LiTw= X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z X-Clacks-Overhead: GNU Terry Pratchett Mail-Copies-To: nobody