🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #42956

Re: killing ALL-CAPS Subjects in [t]rn

#42956
From: Christian Weisgerber
Date: Tue, 01 Sep 1998 00:00
27 lines
1644 bytes
In article <6sg4sd$mbh$1@trotsky.cig.mot.com>, Stephen Lee
<stephen@cig.nml.mot.com> wrote:

> >    /^Subject:[Re: ]*[^a-z]*$/c:j
>                ^^^^^^^
> Does this part work?

Look, I *have* this exact expression in my ~/News/Kill/Global.
I copy'n'pasted it from there. I assure you it works.

Very occasionally it *may* catch an innocent article. There are in fact
articles that have a suject line without lower case letters for
justifiable reasons. I don't know how it interacts with RFC2047
MIME-encoded subject lines. Caveat emptor.

> Not that it strips out anything useful but...

"[Re: ]" is a character class, i.e. it matches any of the characters
'R', 'e', ':', ' '. The suffixed star means that this class can match
arbitrarily often. It may not be elegant, but it matches "Re: " and
"Re: Re: ", etc.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de
  See another pointless homepage at <URL:http://home.pages.de/~naddy/>.

Technical Details
Message-ID: <6shn3a$6t7$1@mips.rhein-neckar.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <6scvhq$9mf$1@pegasus.csx.cam.ac.uk> <6sdtra$qk2$1@mips.rhein-neckar.de> <6sg4sd$mbh$1@trotsky.cig.mot.com>

Show Full Headers
Complete Article Headers
Message-ID: <6shn3a$6t7$1@mips.rhein-neckar.de>
Subject: Re: killing ALL-CAPS Subjects in [t]rn
Date: Tue, 01 Sep 1998 00:00:00 +0000
From: naddy@mips.rhein-neckar.de (Christian Weisgerber)
References: <6scvhq$9mf$1@pegasus.csx.cam.ac.uk> <6sdtra$qk2$1@mips.rhein-neckar.de> <6sg4sd$mbh$1@trotsky.cig.mot.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 386940786
X-Server-Date: 1 Sep 1998 20:57:14 GMT
Newsgroups: news.software.readers