🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #109569

Re: [XNews] Help with a Regular Expression

#109569
From: Maxx Pollare
Date: Fri, 13 Sep 2002 13:26
40 lines
2398 bytes
"mdk" wrote in the message
<news:alsm2h$peib$1@ID-98166.news.dfncis.de> 

> I am trying to sort the groups so that I see only the ones I want.
> I want only to see groups that contain public.windowsxp but not
> the ones that have public.windowsxp.beta.
>
> Doing this:
> 
>   c.windowsxp
> 
> gives me everything including the beta stuff. So I thought doing
> something like this:
> 
>   c.windowsxp.(!b)
> 
> would remove everything starting with a b after the dot. Instead it
> removes everything. I've tried various variations but to no avail.
> 
> Can anyone tell me what I'm doing wrong?


Not correct regex? How about this... public\.windowsxp\.[^b]

The "." is the wild card for any single character and needs to be 
escaped. The "[]" is the character set brackets, the "^" in the 
brackets is the not, in this case "doesn't contain the letter b" after 
the "."

Sorry if any of this is wrong, I'm working from memory here...

-- 
Maxxwell C.G. Pollare (maxxpollare@hotmail.com)

I help others because I can't help myself...

Polar Bear's XNews Primer - http://abmefaq.net/XNews_Primer.html
David B's Xnews Help Pages - http://www.geocities.com/d4vidb/
Sizer's Setting up Binaries - http://xnews.newsguy.com/sizer/
Technical Details
Message-ID: <Xns92884B9E07412Insomniac@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!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
References: <alsm2h$peib$1@ID-98166.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92884B9E07412Insomniac@130.133.1.4>
Subject: Re: [XNews] Help with a Regular Expression
Date: Fri, 13 Sep 2002 13:26:04 +0000
From: Maxx Pollare <spamail@dragonfur.ca>
References: <alsm2h$peib$1@ID-98166.news.dfncis.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 39
NNTP-Posting-Host: blg17w1y46mh.ab.hsia.telus.net (142.59.186.137)
X-Trace: fu-berlin.de 1031923564 852967 142.59.186.137 (16 [139626])
User-Agent: Xnews/05.08.12
X-Face: 4$2Ybn'@MrQy}!~j+4@)yU[Ca+PC|ak]8yW_,T|.sph)f]CFxN1^bjYz+=i1\~tfT8)/wM\IQ.t#;^fS{}DH{<;k#RPl"HXK:Cu\|%dH6tP\,+W:*bbx8ZVumn04g}j;C%y5XDlQU\wcqT*&yG-\&[|%>=9C&-'-"ZEQ^620E][h3C6FIGpKI/]NB=u+>}a"o"guO,n_QZFAB^b'(ef?*uRZ+_Msg]XDtB4~sZLFfv'Hw]C7_a(p,cs{psCzy:%$MEO7|;#]XdV:SKhz,(T!v1?<'f`*)d\l{5WJ