🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57981

XNews: How to filter all caps subjects?

#57981
From: Noel Llopis
Date: Sun, 13 Feb 2000 00:00
35 lines
1554 bytes
I'd like XNews to filter all messages whose subject does
not contain at least one lowercase letter in the range [a-z].
How do I do it? I admit, I'm not an expert with regexps, but
everything I tried failed.

Basically, I'd like to have this rule:
[.]
    	Score: -9999
    	Subject= NOT[a-z]

But I don't know how to do a NOT using a regular expresion
(it's not the same thing as [^a-z]).

So then I tried the following:
% Assign -9999 to ALL posts
[.]
    	Score: -9999
    	Subject: .
% Now add 9999 back if it contains one lowercase letter.
[.]
    	Score: +9999
    	Subject= [a-z]

But apparently XNews stops processing messages once they hit
-9999, so I never get a chance to increase them back to 0.

I think I'm making this more complicated than it really is.
Anybody can help me out? 
Thanks.


--Noel

Technical Details
Message-ID: <8ED98F919327849032hjk432079@24.2.2.74>
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

Show Full Headers
Complete Article Headers
Message-ID: <8ED98F919327849032hjk432079@24.2.2.74>
Subject: XNews: How to filter all caps subjects?
Date: Sun, 13 Feb 2000 00:00:00 +0000
From: llopis@home.com.xxx (Noel Llopis)
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: 585410450
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.md.home.com 950467359 24.3.9.147 (Sun, 13 Feb 2000 10:42:39 PST)
Organization: @Home Network
User-Agent: Xnews/03.01.23
NNTP-Posting-Date: Sun, 13 Feb 2000 10:42:39 PST
Newsgroups: news.software.readers