Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

!07/11 PDP a ni deppart m'I !pleH


computers / news.software.readers / Re: [slrn[ score question

SubjectAuthor
* [slrn[ score questionLewis
+* Re: [slrn[ score questionAdam Funk
|`* Re: [slrn[ score questionLewis
| `- Re: [slrn[ score questionAdam Funk
+* Re: [slrn[ score questionTavis Ormandy
|+* Re: [slrn[ score questionAdam Funk
||`* Re: [slrn[ score questionTavis Ormandy
|| `- Re: [slrn[ score questionAdam Funk
|+* Re: [slrn[ score questionLewis
||`* Re: [slrn[ score questionAdam Funk
|| `- Re: [slrn[ score questionLewis
|`* Re: [slrn[ score questionJeremy Brubaker
| `* Re: [slrn[ score questionTavis Ormandy
|  `- Re: [slrn[ score questionJeremy Brubaker
`- Re: [slrn[ score questionPeter J Ross

1
[slrn[ score question

<slrnsqkpt5.1de7.g.kreme@zephyrus.local>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=705&group=news.software.readers#705

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: news.software.readers
Subject: [slrn[ score question
Date: Fri, 3 Dec 2021 18:53:25 -0000 (UTC)
Organization: Miskatonic U
Lines: 17
Message-ID: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Fri, 3 Dec 2021 18:53:25 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="dfb3ccd84594896b4fd10cfca9ae3685";
logging-data="14627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OILDOAoxaAuMDFtlHX4sf"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:Pf4vvDqptFYl4kpjJ2z5cq0tLJ0=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
 by: Lewis - Fri, 3 Dec 2021 18:53 UTC

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::

--
S is for SUSAN who perished of fits
T is for TITUS who flew into bits

Re: [slrn[ score question

<sj6s7ix9at.ln2@news.ducksburg.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=706&group=news.software.readers#706

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24...@ducksburg.com (Adam Funk)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sat, 04 Dec 2021 13:21:32 +0000
Organization: $CABAL
Lines: 45
Message-ID: <sj6s7ix9at.ln2@news.ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
X-Trace: individual.net HY4AURM5fjiq4JvUFp/R9QmmFHJl2Ix8mdNEEys8ehof9QX8eq
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:cbcZvponVdJlxFxBFPbdInmYrT0= sha1:yyb0K/Wgt22z/dGj5UVRLTRh2xU=
User-Agent: slrn/pre1.0.4-2 (Linux)
 by: Adam Funk - Sat, 4 Dec 2021 13:21 UTC

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).

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!

--
While outside on the turnpike
They got this new hit tune
Thrills become as cheap as gas
And gas as cheap as thrills

Re: [slrn[ score question

<slrnsqmtsa.2qej.g.kreme@zephyrus.local>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=707&group=news.software.readers#707

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sat, 4 Dec 2021 14:13:30 -0000 (UTC)
Organization: Miskatonic U
Lines: 53
Message-ID: <slrnsqmtsa.2qej.g.kreme@zephyrus.local>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<sj6s7ix9at.ln2@news.ducksburg.com>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Sat, 4 Dec 2021 14:13:30 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="32a1fc06c78c7b62b1b84e477fa8636e";
logging-data="2213"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xwIdsqhlwZdldNdwIX9hw"
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
 by: Lewis - Sat, 4 Dec 2021 14:13 UTC

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

Re: [slrn[ score question

<j11fuhF6qfdU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=708&group=news.software.readers#708

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tav...@gmail.com (Tavis Ormandy)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: 4 Dec 2021 15:31:29 GMT
Lines: 29
Message-ID: <j11fuhF6qfdU1@mid.individual.net>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
X-Trace: individual.net q1Ga8UN4TgQIlo4xhH7ZnwKJrBG/kK0KiTY1GRFIp/D5jue2Oa
Cancel-Lock: sha1:GMkMXeIxqTZM1r3gYKw5apF+8/A=
User-Agent: slrn/pre1.0.4-5 (Linux)
 by: Tavis Ormandy - Sat, 4 Dec 2021 15:31 UTC

On 2021-12-03, Lewis wrote:
> ~Subject: \c[a-z]

The tilde means the rule is inverted and \c means to enable case
sensitivity, so this only matches if the subject was ALL CAPS.

> {:

This starts a group, all of the rules in the group have to match.

> Subject: ^Re:
> ~Subject: ^Re:.*\c[a-z]

This is adding an exception for Re:, so Re: ALL CAPS still matches the
rule!

> }

You can also add a comment, like Score: -100 % All CAPS, then when you
show the score view (v), it tells you which scores matched! This is
really handy if you have a bunch of complicated rules and not sure what
caused a score to be so high/low.

Tavis.

--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger taviso@sdf.org
_\_V _( ) _( ) @taviso

Re: [slrn[ score question

<slrnsqn8ka.138l.pjr@pjr.example.invalid>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=709&group=news.software.readers#709

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pjr...@example.invalid (Peter J Ross)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: 4 Dec 2021 17:16:58 GMT
Lines: 48
Message-ID: <slrnsqn8ka.138l.pjr@pjr.example.invalid>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
X-Trace: individual.net OIYS5Bk2JSriDRWnRyRMugLHKHLC7+YOREhN4eLT7vkwlhh3fS
Cancel-Lock: sha1:RAdJC0XPGoOqidJ9/LuI9n2dCgI=
User-Agent: slrn/1.0.3 (Linux)
 by: Peter J Ross - Sat, 4 Dec 2021 17:16 UTC

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 :-)

Re: [slrn[ score question

<gnrs7ixive.ln2@news.ducksburg.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=710&group=news.software.readers#710

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24...@ducksburg.com (Adam Funk)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sat, 04 Dec 2021 19:21:52 +0000
Organization: $CABAL
Lines: 67
Message-ID: <gnrs7ixive.ln2@news.ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<sj6s7ix9at.ln2@news.ducksburg.com>
<slrnsqmtsa.2qej.g.kreme@zephyrus.local>
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)
 by: Adam Funk - Sat, 4 Dec 2021 19:21 UTC

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?

Re: [slrn[ score question

<dqrs7ixive.ln2@news.ducksburg.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=711&group=news.software.readers#711

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24...@ducksburg.com (Adam Funk)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sat, 04 Dec 2021 19:23:25 +0000
Organization: $CABAL
Lines: 36
Message-ID: <dqrs7ixive.ln2@news.ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net>
X-Trace: individual.net iAj0tWV7A3AypCMEI9p0awWMRv6hFUOoauTUkDAUCKNF8p8QtM
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:RG3SP5mB0aM46QRgswZMcJHQkRE= sha1:y7jAYiro1JBv0fIQdd+d5uPCHVE=
User-Agent: slrn/pre1.0.4-2 (Linux)
 by: Adam Funk - Sat, 4 Dec 2021 19:23 UTC

On 2021-12-04, Tavis Ormandy wrote:

> On 2021-12-03, Lewis wrote:
>> ~Subject: \c[a-z]
>
> The tilde means the rule is inverted and \c means to enable case
> sensitivity, so this only matches if the subject was ALL CAPS.
>
>> {:
>
> This starts a group, all of the rules in the group have to match.
>
>> Subject: ^Re:
>> ~Subject: ^Re:.*\c[a-z]
>
> This is adding an exception for Re:, so Re: ALL CAPS still matches the
> rule!

I must be missing something --- I thought scoring patterns were
case-insensitive by default?

>> }
>
> You can also add a comment, like Score: -100 % All CAPS, then when you
> show the score view (v), it tells you which scores matched! This is
> really handy if you have a bunch of complicated rules and not sure what
> caused a score to be so high/low.
>
> Tavis.
>

--
books by the blameless and by the dead

Re: [slrn[ score question

<j1257bFb1gkU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=712&group=news.software.readers#712

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tav...@gmail.com (Tavis Ormandy)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: 4 Dec 2021 21:34:35 GMT
Lines: 24
Message-ID: <j1257bFb1gkU1@mid.individual.net>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <dqrs7ixive.ln2@news.ducksburg.com>
X-Trace: individual.net O20pHZ2erqmAnTJpyPY78wB50q1aYExlFA9snk4eLcGBnTsxvY
Cancel-Lock: sha1:rughM7pm1TQ3E+cpl98a8hGKJCI=
User-Agent: slrn/pre1.0.4-5 (Linux)
 by: Tavis Ormandy - Sat, 4 Dec 2021 21:34 UTC

On 2021-12-04, Adam Funk wrote:
> On 2021-12-04, Tavis Ormandy wrote:
>
>> On 2021-12-03, Lewis wrote:
>>> ~Subject: \c[a-z]
>>
>> The tilde means the rule is inverted and \c means to enable case
>> sensitivity, so this only matches if the subject was ALL CAPS.
>>
>
> I must be missing something --- I thought scoring patterns were
> case-insensitive by default?

You're not missing anything, exactly right! They're case-insensitive by
default, but \c enables case-sensitivity. So \c[a-z] only matches
lowercase, but the rule is inverted (the tilde) - so it only matches
*no* lowercase.

Tavis.

--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger taviso@sdf.org
_\_V _( ) _( ) @taviso

Re: [slrn[ score question

<slrnsqoj6t.b1l.g.kreme@zephyrus.local>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=714&group=news.software.readers#714

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sun, 5 Dec 2021 05:23:42 -0000 (UTC)
Organization: Miskatonic U
Lines: 19
Message-ID: <slrnsqoj6t.b1l.g.kreme@zephyrus.local>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Sun, 5 Dec 2021 05:23:42 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="f895442801119455ff732cc6ca579fdc";
logging-data="22061"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Jsg37a9MRQAhXv7aNZfJY"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:hxQp+liHCcZPFuk6Bl6YzQdUy94=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Sun, 5 Dec 2021 05:23 UTC

In message <j11fuhF6qfdU1@mid.individual.net> Tavis Ormandy <taviso@gmail.com> wrote:
> On 2021-12-03, Lewis wrote:
>> ~Subject: \c[a-z]

> The tilde means the rule is inverted and \c means to enable case
> sensitivity, so this only matches if the subject was ALL CAPS.

Ah, that makes sense I knew that once.`

> You can also add a comment, like Score: -100 % All CAPS

Yes, I gave done that on many newer rules, but not on some of the
originals (I may not have known about commenting back then and didn't go
back and do it when I should have).

Thanks for the explanation.

--
Bart, don't use the Touch of Death on your sister.

Re: [slrn[ score question

<sj2v7ix434.ln2@news.ducksburg.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=715&group=news.software.readers#715

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24...@ducksburg.com (Adam Funk)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sun, 05 Dec 2021 15:31:40 +0000
Organization: $CABAL
Lines: 31
Message-ID: <sj2v7ix434.ln2@news.ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <dqrs7ixive.ln2@news.ducksburg.com>
<j1257bFb1gkU1@mid.individual.net>
X-Trace: individual.net XHp3rcoLw4oo3u9Y77RRYAfsTj83hN9oI+cucp0k7GHEAWOFI3
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:xidXiyP5foXltF3NkyOExgAuyco= sha1:Zg33sbM41qWoU+Zr2uaULI6g8Rw=
User-Agent: slrn/pre1.0.4-2 (Linux)
 by: Adam Funk - Sun, 5 Dec 2021 15:31 UTC

On 2021-12-04, Tavis Ormandy wrote:

> On 2021-12-04, Adam Funk wrote:
>> On 2021-12-04, Tavis Ormandy wrote:
>>
>>> On 2021-12-03, Lewis wrote:
>>>> ~Subject: \c[a-z]
>>>
>>> The tilde means the rule is inverted and \c means to enable case
>>> sensitivity, so this only matches if the subject was ALL CAPS.
>>>
>>
>> I must be missing something --- I thought scoring patterns were
>> case-insensitive by default?
>
> You're not missing anything,

Well actually...

> exactly right! They're case-insensitive by
> default, but \c enables case-sensitivity. So \c[a-z] only matches
> lowercase, but the rule is inverted (the tilde) - so it only matches
> *no* lowercase.

....I forgot about the ~ NOT. Now I understand, thanks.

--
Master Foo once said to a visiting programmer: "There is more
Unix-nature in one line of shell script than there is in ten
thousand lines of C." ---Eric Raymond

Re: [slrn[ score question

<al2v7ix434.ln2@news.ducksburg.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=716&group=news.software.readers#716

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: a24...@ducksburg.com (Adam Funk)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sun, 05 Dec 2021 15:32:26 +0000
Organization: $CABAL
Lines: 28
Message-ID: <al2v7ix434.ln2@news.ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <slrnsqoj6t.b1l.g.kreme@zephyrus.local>
X-Trace: individual.net JSe5xjx3ao+WaIHtbjw8mQIDRNeRuP1AEJfO640q44FVXylpjQ
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:ZuKZbZbAmgu1LpLEsnrSWHVGfsQ= sha1:CkN+a9Q9F5INiNgKdp8g4zO2Y0E=
User-Agent: slrn/pre1.0.4-2 (Linux)
 by: Adam Funk - Sun, 5 Dec 2021 15:32 UTC

On 2021-12-05, Lewis wrote:

> In message <j11fuhF6qfdU1@mid.individual.net> Tavis Ormandy <taviso@gmail.com> wrote:
>> On 2021-12-03, Lewis wrote:
>>> ~Subject: \c[a-z]
>
>> The tilde means the rule is inverted and \c means to enable case
>> sensitivity, so this only matches if the subject was ALL CAPS.
>
> Ah, that makes sense I knew that once.`
>
>> You can also add a comment, like Score: -100 % All CAPS
>
> Yes, I gave done that on many newer rules, but not on some of the
> originals (I may not have known about commenting back then and didn't go
> back and do it when I should have).

It's just like putting comments in programs --- by the time you
realize you need them to figure out what you meant, it's too late.

> Thanks for the explanation.
>

--
Our scientific power has outrun our spiritual power. We have guided
missiles and misguided men. ---Martin Luther King, Jr.

Re: [slrn[ score question

<slrnsqqign.t20.g.kreme@zephyrus.local>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=717&group=news.software.readers#717

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Sun, 5 Dec 2021 23:24:07 -0000 (UTC)
Organization: Miskatonic U
Lines: 27
Message-ID: <slrnsqqign.t20.g.kreme@zephyrus.local>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <slrnsqoj6t.b1l.g.kreme@zephyrus.local>
<al2v7ix434.ln2@news.ducksburg.com>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Sun, 5 Dec 2021 23:24:07 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="ef54e3c9f0613593a658ed729e468c11";
logging-data="28342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OmSBeHSsrw79DLuEISN5w"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:y8BUs0IATKAgg5bdTe8Ir5JyCmQ=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Sun, 5 Dec 2021 23:24 UTC

In message <al2v7ix434.ln2@news.ducksburg.com> Adam Funk <a24061@ducksburg.com> wrote:
> On 2021-12-05, Lewis wrote:

>> In message <j11fuhF6qfdU1@mid.individual.net> Tavis Ormandy <taviso@gmail.com> wrote:
>>> On 2021-12-03, Lewis wrote:
>>>> ~Subject: \c[a-z]
>>
>>> The tilde means the rule is inverted and \c means to enable case
>>> sensitivity, so this only matches if the subject was ALL CAPS.
>>
>> Ah, that makes sense I knew that once.`
>>
>>> You can also add a comment, like Score: -100 % All CAPS
>>
>> Yes, I gave done that on many newer rules, but not on some of the
>> originals (I may not have known about commenting back then and didn't go
>> back and do it when I should have).

> It's just like putting comments in programs --- by the time you
> realize you need them to figure out what you meant, it's too late.

Nah, as it turns out they are better because the comments are shown when
you look at the score details while in slrn.

--
"Are you pondering what I'm pondering?"
"Uh, I think so Brain, but this time, you wear the tutu."

Re: [slrn[ score question

<sotjfd$6ep$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=718&group=news.software.readers#718

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jbrubake...@orionarts.invalid (Jeremy Brubaker)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Thu, 9 Dec 2021 18:55:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <sotjfd$6ep$1@dont-email.me>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 9 Dec 2021 18:55:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8be1350232741161c12d7c11b157fb0e";
logging-data="6617"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++76jIs0rMy+CXjBZsh+YbS4IsOKAHSSc="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:pYRDKSc/j5YfurAwhMKEJBRjK4I=
 by: Jeremy Brubaker - Thu, 9 Dec 2021 18:55 UTC

On 2021-12-04, Tavis Ormandy wrote:
> On 2021-12-03, Lewis wrote:
>> ~Subject: \c[a-z]
>
> The tilde means the rule is inverted and \c means to enable case
> sensitivity, so this only matches if the subject was ALL CAPS.

Why can't the first line be Subject: \c[A-Z] instead? And doesn't that
only match one-word subjects? I've been trying to figure out how to kill
all-caps From: and Subject: and I'm not sure I have it correct.

>> {:
>
> This starts a group, all of the rules in the group have to match.
>
>> Subject: ^Re:
>> ~Subject: ^Re:.*\c[a-z]
>
> This is adding an exception for Re:, so Re: ALL CAPS still matches the

And why can't this just be Subject: ^Re:.*\c[A-Z]? (with the appropriate
altering of the AND/OR blocks)

Clearly regex are not my strong suit.

--
() www.asciiribbon.org | Jeremy Brubaker
/\ - against html mail | јЬruЬаkе@оrіоnаrtѕ.іо / neonrex on IRC

"Humor is a drug which it's the fashion to abuse." -- William Gilbert

Re: [slrn[ score question

<j1gat2F2f5rU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=719&group=news.software.readers#719

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tav...@gmail.com (Tavis Ormandy)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: 10 Dec 2021 06:37:22 GMT
Lines: 25
Message-ID: <j1gat2F2f5rU1@mid.individual.net>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <sotjfd$6ep$1@dont-email.me>
X-Trace: individual.net mdD0u9okHggCsHpThpeqfAVk3iVVem+qWaL22mx63ddWHOoiGY
Cancel-Lock: sha1:WPXfoyQnuhtU/hK3Hfasw4+/8J8=
User-Agent: slrn/pre1.0.4-5 (Linux)
 by: Tavis Ormandy - Fri, 10 Dec 2021 06:37 UTC

On 2021-12-09, Jeremy Brubaker wrote:
> On 2021-12-04, Tavis Ormandy wrote:
>> On 2021-12-03, Lewis wrote:
>>> ~Subject: \c[a-z]
>>
>> The tilde means the rule is inverted and \c means to enable case
>> sensitivity, so this only matches if the subject was ALL CAPS.
>
> Why can't the first line be Subject: \c[A-Z] instead?

That would match any subject with a capital letter (rather than any
subject *without* a lowercase letter).

You're probably thinking of something like \c^[A-Z]+$ (nothing but
capital letters)... It works, but then a space or punctuation "OH
YEAH!!!!" gets through... so "no lowercase" is just a less messy
way of saying "only uppercase or punctuation or spaces or symbols or
...." :)

Tavis.

--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger taviso@sdf.org
_\_V _( ) _( ) @taviso

Re: [slrn[ score question

<sp0g4c$kla$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=720&group=news.software.readers#720

 copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jbrubake...@orionarts.invalid (Jeremy Brubaker)
Newsgroups: news.software.readers
Subject: Re: [slrn[ score question
Date: Fri, 10 Dec 2021 21:17:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <sp0g4c$kla$1@dont-email.me>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local>
<j11fuhF6qfdU1@mid.individual.net> <sotjfd$6ep$1@dont-email.me>
<j1gat2F2f5rU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Dec 2021 21:17:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="07e2b55e21595d5ffeb149cba094817f";
logging-data="21162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T78WXFRoSprRTOzWlhVSpGOQhS1tgSQY="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:rJ5zNK8P1zuek/3FitH+TRkd5GA=
 by: Jeremy Brubaker - Fri, 10 Dec 2021 21:17 UTC

On 2021-12-10, Tavis Ormandy wrote:
> On 2021-12-09, Jeremy Brubaker wrote:
>> On 2021-12-04, Tavis Ormandy wrote:
>>> On 2021-12-03, Lewis wrote:
>>>> ~Subject: \c[a-z]
>>>
>>> The tilde means the rule is inverted and \c means to enable case
>>> sensitivity, so this only matches if the subject was ALL CAPS.
>>
>> Why can't the first line be Subject: \c[A-Z] instead?
>
> That would match any subject with a capital letter (rather than any
> subject *without* a lowercase letter).

Oh yeah. Thanks for pointing that out.

--
() www.asciiribbon.org | Jeremy Brubaker
/\ - against html mail | јЬruЬаkе@оrіоnаrtѕ.іо / neonrex on IRC

I just thought of something funny...your mother. -- Cheech Marin

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor