🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #43180

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

#43180
From: brian moore
Date: Fri, 11 Sep 1998 00:00
36 lines
2271 bytes
On 1 Sep 1998 22:57:14 +0200, 
 Christian Weisgerber <naddy@mips.rhein-neckar.de> wrote:
> 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.

It also matches "e:r ", "rrrrrrrrrrrrr" and ":::::::::" and a whole slew
of other things.

I'd use parens not brackets.

-- 
Brian Moore                         | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker       |  a cockroach, except that the cockroach
      Usenet Vandal                 |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                   Peter Olson, Delphi Postmaster

Technical Details
Message-ID: <slrn6vik27.36u.bem@thorin.cmc.net>
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> <6shn3a$6t7$1@mips.rhein-neckar.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6vik27.36u.bem@thorin.cmc.net>
Subject: Re: killing ALL-CAPS Subjects in [t]rn
Date: Fri, 11 Sep 1998 00:00:00 +0000
From: bem@news.cmc.net (brian moore)
References: <6scvhq$9mf$1@pegasus.csx.cam.ac.uk> <6sdtra$qk2$1@mips.rhein-neckar.de> <6sg4sd$mbh$1@trotsky.cig.mot.com> <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
X-Deja-AN: 390154983
X-10: yes
X-11: R6.3
X-Complaints-To: abuse@cmc.net
X-Trace: news.cmc.net 905531455 9092 (None) 206.102.31.253
Organization: Chambers Multimedia Connection
X-Vile: yes
User-Agent: slrn/0.9.5.3 (UNIX)
Newsgroups: news.software.readers
X-Meow: yes