Article View: news.software.readers
Article #265277Re: [slrn[ score question
From: Jeremy Brubaker
Date: Thu, 09 Dec 2021 18:55
Date: Thu, 09 Dec 2021 18:55
31 lines
1829 bytes
1829 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.
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
Technical Details
Message-ID:
<sotjfd$6ep$1@dont-email.me>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> <j11fuhF6qfdU1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <sotjfd$6ep$1@dont-email.me> Subject: Re: [slrn[ score question Date: Thu, 09 Dec 2021 18:55:42 +0000 From: Jeremy Brubaker <jbrubake.362@orionarts.invalid> 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!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 31 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) User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:pYRDKSc/j5YfurAwhMKEJBRjK4I=