🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265269

Re: [slrn[ score question

#265269
From: Peter J Ross
Date: Sat, 04 Dec 2021 17:16
48 lines
2107 bytes
On 2021-12-03, Lewis <g.kreme@kreme.dont-email.me> 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.

Perhaps it's near the top because you added it early and then forgot
about it. :-)

> Score:: -800
> ~Subject: \c[a-z]
>        {:
>                Subject: ^Re:
>                ~Subject: ^Re:.*\c[a-z]
>        }

You adapted this from an example in the official documentation.

https://slrn.info/docs/score.txt

#v+
For writing even more complex entries, slrn now allows the grouping of
  scorefile rules. Here is a simple example:

          Score:: -1000
          ~Subject: \c[a-z]
          {:
                  Subject: ^Re:
                  ~Subject: ^Re:.*\c[a-z]
          }

  Lines enclosed in curly braces are grouped; the initial brace is
  followed by one or two colons that indicate whether only one (`::') or
  all of the lines (`:') inside the group need to match for the group to
  pass.

  As the result, the example kills subject header lines that do not
  contain lowercase characters, not counting an initial `Re:'.
#v-

> Heck I can't even remember how Score:: is different from Score::

I bet my memory of the subtleties of slrn is worse than yours. 



-- 
PJR :-)
Technical Details
Message-ID: <slrnsqn8ka.138l.pjr@pjr.example.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>

Show Full Headers
Complete Article Headers
Message-ID: <slrnsqn8ka.138l.pjr@pjr.example.invalid>
Subject: Re: [slrn[ score question
Date: Sat, 04 Dec 2021 17:16:58 +0000
From: Peter J Ross <pjr@example.invalid>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Lines: 48
X-Trace: individual.net OIYS5Bk2JSriDRWnRyRMugLHKHLC7+YOREhN4eLT7vkwlhh3fS
Cancel-Lock: sha1:RAdJC0XPGoOqidJ9/LuI9n2dCgI=
User-Agent: slrn/1.0.3 (Linux)