🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243339

Re: help with leafnode 2 only_groups_pcre regex?

#243339
From: Christian Ebert
Date: Sun, 21 Nov 2010 23:40
17 lines
2020 bytes
* Adam Funk on Sunday, November 21, 2010:
> The regex I was attempting to work from eliminates binary-like group
> names:
> 
> only_groups_pcre = ^([\+\-\w]+)(\.[\+\-\w]+(?<!binaries|binary|mp3|warez|binares|binarios|binari|binair))*$
> 
> What does the "<" in the "?<!" do there?

That's called a "negative lookbehind assertion". In case you want
to get a headache, consult man pcrepattern ;-)

c
-- 
\black\trash movie    _MORALISK  ANSTALT_
                        "Nix verstanden."

--->> http://www.blacktrash.org/underdogma/moraliskanstalt.php
Technical Details
Message-ID: <p7nor7xj492.ln2@krille.blacktrash.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.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!krille.blacktrash.org!not-for-mail
References: <6donr7x00i.ln2@news.ducksburg.com> <v51or7x8242.ln2@krille.blacktrash.org> <p8gor7xatt.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <p7nor7xj492.ln2@krille.blacktrash.org>
Subject: Re: help with leafnode 2 only_groups_pcre regex?
Date: Mon, 22 Nov 2010 00:40:09 +0100
From: Christian Ebert <blacktrash@gmx.net>
References: <6donr7x00i.ln2@news.ducksburg.com> <v51or7x8242.ln2@krille.blacktrash.org> <p8gor7xatt.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!krille.blacktrash.org!not-for-mail
Newsgroups: news.software.readers
Organization: Black Trash Productions http://www.blacktrash.org/
Lines: 17
X-Trace: news.albasani.net
 NolpYVOoYO7vCmJ10OD6tX8/YAr6ATRWRZOpocHx2tZK9rr0N+Bo+ERXAl2yNwanffhElOZM27Yw7ePvKWf0J6ANqsaRUbvg4TxI9mlulzKg0tB+o53opYWGAKZjwjqp
NNTP-Posting-Date: Sun, 21 Nov 2010 23:40:16 +0000 (UTC)
X-Face: )&#alA:[x"-#%%./(nuC&8n; #gqM; =mfY&ivRz@Gnv|AD_0l1Uz{fnJ^BW~OX[d;
 /)z!y V
Cancel-Lock: sha1:PdjWO3gz4o/a8m6j2MWCUwLrnNg=
User-Agent: slrn/pre1.0.0-26/mm/ao/mc (Darwin)
Injection-Info: news.albasani.net;
 logging-data="xIGsAIEbtaBzNNKx2WjDRNXLEL+RGNBBpoYq4zaCZ3m5PDRzCM2/msBTo650O17x1KJEXKlzbAkx3Tqf1Z0gZwheQ68lzTtrqVlfKr9JM2uHWIto0x23IdShYi9Yb+mr";
 mail-complaints-to="abuse@albasani.net"
Mail-Copies-To: nobody