🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #129452

Re: [Xnews] regex assistance needed

#129452
From: Sepp
Date: Fri, 25 Jul 2003 18:10
45 lines
2137 bytes
Sepp <seppludwig@isuisse.com> wrote in 
news:Xns93C3B1749D6E8Sepp@130.133.1.4:
this works:

(?-i)[a-z]

this will give you all subjects which are NOT all capitals.

press "i" to get the inverse, that is, the articles which ARE only
 capitals.

I don't know if it is just my setup, but it seems that xnews  
defaults to "ignore upper or lowercase", which normally is switched
on by (?i).

Hence I have switched it off with (?-i) and eureka, it worked!


> Darrien <Darrien_Lambert@NA._.COM@hotmail.com> wrote in
> news:Xns93C34E26ED97CDarrienL@140.99.99.130: 
>          
> [a-z0-9\W]*
> 
> but I think you will find that subjects in all caps also have 
> special characters
> 
> It is that which is more difficult to filter out...
> 
> sepp
>> I'd like to do two things in Xnews. 
>> 
>> First, I'd like to kill all articles and their replies where the
>> subject line contains all caps. I currently have "~Subject= .*[a-z]"
>> in my score file. I've tried modifying it to something like "~Subject=
>> .*(re)?[a-z]" and variants, but have had no luck.
>> 
>> Secondly, I'd like to kill all articles that come from X days in the
>> future. Can this be done with a regex? If not, is there a setting I
>> have overlooked? 
>> 
>> 
> 
> 

Technical Details
Message-ID: <Xns93C3CCF5222E3Sepp@130.133.1.4>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!212.68.230.46.brutele.BE!not-for-mail
References: <Xns93C34E26ED97CDarrienL@140.99.99.130> <Xns93C3B1749D6E8Sepp@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <Xns93C3CCF5222E3Sepp@130.133.1.4>
Subject: Re: [Xnews] regex assistance needed
Date: Fri, 25 Jul 2003 18:10:07 +0000
From: Sepp <seppludwig@isuisse.com>
References: <Xns93C34E26ED97CDarrienL@140.99.99.130> <Xns93C3B1749D6E8Sepp@130.133.1.4>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!212.68.230.46.brutele.BE!not-for-mail
Newsgroups: news.software.readers
Lines: 44
NNTP-Posting-Host: 212.68.230.46.brutele.be (212.68.230.46)
X-Trace: news.uni-berlin.de 1059156607 19179522 212.68.230.46 (16 [76142])
User-Agent: Xnews/5.04.25