🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #133592

Re: [Xnews] Regex for newsgroups

#133592
From: Tech Zero
Date: Wed, 17 Sep 2003 11:21
34 lines
1705 bytes
The voice of "Hiram Walker" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Is it possible to have a regex expression for use in groups.ini
> which will select the follwing groups:
> 
>         AAA or BBB or CCC but not AAA.XXX
> 
> I have got this
> 
>         [AAA|BBB|CCC]
> 
> and I tried changing it to
> 
>         [AAA|BBB|CCC|~XXX]
> 
> but this doesn't work.  I need something which gives me an AND
> rather than an OR.


The solution is to use an expression above the main entry with some 
nominal settings. Processing will stop at the first group match unless 
a "Continue=1" is present, so this works like your NOT entry...

   [AAA\.XXX]
   SortOn=Date
   SortOrder=-1

   [AAA|BBB|CCC]
   % Your settings

-- 
The Tech Zero (Maxwell Pollare), Lost in the keys of Xnews...
Technical Details
Message-ID: <Xns93F9366DC644ZeroOne@news.individual.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
References: <Xns93F970A1F8DFD7AF39@80.1.224.5>

Show Full Headers
Complete Article Headers
Message-ID: <Xns93F9366DC644ZeroOne@news.individual.net>
Subject: Re: [Xnews] Regex for newsgroups
Date: Wed, 17 Sep 2003 11:21:02 +0000
From: Tech Zero <spamfeed@dragonfur.ca>
References: <Xns93F970A1F8DFD7AF39@80.1.224.5>
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!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 33
Reply-To: techzero@dragonfur.ca
NNTP-Posting-Host: blg17w1y46mh.ab.hsia.telus.net (205.206.247.208)
X-Trace: news.uni-berlin.de 1063797662 27977381 205.206.247.208 (16 [139626])
User-Agent: Xnews/06.01.10