🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265275

Re: [slrn[ score question

#265275
From: Adam Funk
Date: Sun, 05 Dec 2021 15:31
31 lines
1804 bytes
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
Technical Details
Message-ID: <sj2v7ix434.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-mail
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <j11fuhF6qfdU1@mid.individual.net> <dqrs7ixive.ln2@news.ducksburg.com> <j1257bFb1gkU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <sj2v7ix434.ln2@news.ducksburg.com>
Subject: Re: [slrn[ score question
Date: Sun, 05 Dec 2021 15:31:40 +0000
From: Adam Funk <a24061@ducksburg.com>
References: <slrnsqkpt5.1de7.g.kreme@zephyrus.local> <j11fuhF6qfdU1@mid.individual.net> <dqrs7ixive.ln2@news.ducksburg.com> <j1257bFb1gkU1@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: 31
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)