🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #133645

Re: [Xnews] Regex for newsgroups

#133645
From: »Q«
Date: Thu, 18 Sep 2003 00:43
29 lines
2185 bytes
Alan Ford <xnews@libero.it> wrote in <news:Xns93FA1D40903Elucatinit@
127.0.0.1>:

>>>> 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
>>>
>>> Try this:
>>>
>>>     [AAA(?!\56XXX)|BBB|CCC]
>>
>>
>> Can you explain the non-letter character please.
>
> . (point - dot) -> DEC (46) -> HEX (2E) -> OCTAL (56)
>                                            ^^^^^^^^^^

Is this necessary within the negative lookahead?  Would (?!\.XXX) not
work just as well?  And if not, why not?

Man those questions look terse, but I'm just askin', you know. ;)

-- 
�Q�
      "KEEP BIG BROTHER'S HANDS OFF THE INTERNET"
              By Senator John Ashcroft
<http://usinfo.state.gov/journals/itgic/1097/ijge/gj-7.htm>
Technical Details
Message-ID: <MrQ93F9C8B09D0CCitsmeitsQ@QsFQDN.dyndns.org>
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!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!209.12.44.169!not-for-mail
References: <Xns93F970A1F8DFD7AF39@80.1.224.5> <Xns93F9E6F83F559lucatinit@127.0.0.1> <Xns93F9DCD04D9437AF39@62.253.162.114> <Xns93FA1D40903Elucatinit@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ93F9C8B09D0CCitsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: [Xnews] Regex for newsgroups
Date: Thu, 18 Sep 2003 00:43:43 GMT
From: "»Q«" <boxcars@gmx.net>
References: <Xns93F970A1F8DFD7AF39@80.1.224.5> <Xns93F9E6F83F559lucatinit@127.0.0.1> <Xns93F9DCD04D9437AF39@62.253.162.114> <Xns93FA1D40903Elucatinit@127.0.0.1>
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!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!209.12.44.169!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 28
NNTP-Posting-Host: 209.12.44.169
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1063846037 25586089 209.12.44.169 (16 [201233])
X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm>
X-Face: *#`F(_&o,GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C