🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44978

Re: Gravity: Attack of the killer messages

#44978
From: Paul Neubauer
Date: Mon, 30 Nov 1998 00:00
46 lines
2442 bytes
In article <MPG.10cc7af3d3c4b1b59898bb@ct-news.iafrica.com>, 
Francois.Visagie@DataVoice.co.za.TurfThis writes...
> In article <MPG.10c83d8f439b000d98970d@news.earthlink.net>, Roy DeRousse 
> <relayer@iname.com> says...
> << snip >>
> > BTW, I tried making a regular expression that I could use in a rule that 
> > would screen subjects with all capital letters in them, but I must not be 
> > experienced enough with regular expressions to figure out how to do it.  
> > (A better test would be to match a subject that does not have at least 
> > one lower case letter, but I couldn't figure out how to do that either.)  
> > The two killer subjects that I've found so far were in all capital 
> > letters, so I thought that might be a good way to kill the killers too.  
> > Does anyone know how to do this?
> << snip >>
> 
> In the simplest case, you can check for subjects that don't contain at 
> least one lower-case character with:
> 
> Not
> Subject contains reg. expr. "[a-z]+"

Francois' rule may be ok for the simple case.  It fails on at least the 
case where you have a reply to an all-caps subject.  Here's a slightly 
more comprehensive rule.  Cut it out and "import" it (from the Rules 
dialog).

rule = CAPSLOCK
  enabled = Yes
  allgroups = Yes
begin groups
end groups
begin condition
  Subject contains reg. expr. "<0>(R[eE]: )*[^a-z]*<~0>"
end condition
begin actions
  markAsRead
end actions
end rule

	Paul
-- 
Paul Neubauer          prn@bsu.edu
http://home.bsu.edu/prn/
PGP Public Key at http://home.bsu.edu/prn/key.html

Technical Details
Message-ID: <MPG.10cc878aa2d03d4b9896ec@news.bsu.edu>
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: <MPG.10c7ff80af5ac46698970c@news.earthlink.net> <MPG.10c8a5e1eaa864be9898ba@ct-news.iafrica.com> <MPG.10c83d8f439b000d98970d@news.earthlink.net> <MPG.10cc7af3d3c4b1b59898bb@ct-news.iafrica.com>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.10cc878aa2d03d4b9896ec@news.bsu.edu>
Subject: Re: Gravity: Attack of the killer messages
Date: Mon, 30 Nov 1998 00:00:00 +0000
From: prn@bsu.edu (Paul Neubauer)
References: <MPG.10c7ff80af5ac46698970c@news.earthlink.net> <MPG.10c8a5e1eaa864be9898ba@ct-news.iafrica.com> <MPG.10c83d8f439b000d98970d@news.earthlink.net> <MPG.10cc7af3d3c4b1b59898bb@ct-news.iafrica.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: 417120678
X-Trace: www.bsu.edu 912440598 147.226.53.13 (Mon, 30 Nov 1998 10:43:18 EDT)
Organization: Ball State University
NNTP-Posting-Date: Mon, 30 Nov 1998 10:43:18 EDT
Newsgroups: news.software.readers