Article View: news.software.readers
Article #265271Re: [slrn[ score question
From: Adam Funk
Date: Sat, 04 Dec 2021 19:23
Date: Sat, 04 Dec 2021 19:23
36 lines
1710 bytes
1710 bytes
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
Technical Details
Message-ID:
<dqrs7ixive.ln2@news.ducksburg.com>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-mailReferences:
<slrnsqkpt5.1de7.g.kreme@zephyrus.local> <j11fuhF6qfdU1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <dqrs7ixive.ln2@news.ducksburg.com> Subject: Re: [slrn[ score question Date: Sat, 04 Dec 2021 19:23:25 +0000 From: Adam Funk <a24061@ducksburg.com> References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <j11fuhF6qfdU1@mid.individual.net> 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 Organization: $CABAL Lines: 36 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)