🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243315

help with leafnode 2 only_groups_pcre regex?

#243315
From: Adam Funk
Date: Sun, 21 Nov 2010 14:53
23 lines
1756 bytes
I'm trying to use an only_groups_pcre expression to exclude any groups
that start with 'gmane'.  This doesn't work:

only_groups_pcre = ^(?<!gmane\.).*$

and I have a hard time getting my head around the negative kind.  I'd
appreciate any help.


Background, in case anyone is curious:

I discovered yesterday that nntp.aioe.org now carries a bunch of
gmane.* groups, but all flagged 'n' (no posting), and when leafnode
(version 2.0.0.alpha20090908a.luascript in my case) merges group lists
from different servers, it doesn't consistently deal with differences
in the flags (the group I was posting to is 'm' (moderated) on
news.gmane.org).


-- 
"Gonzo, is that the contract from the devil?"
"No, Kermit, it's worse than that. This is the bill from special
effects."
Technical Details
Message-ID: <6donr7x00i.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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6donr7x00i.ln2@news.ducksburg.com>
Subject: help with leafnode 2 only_groups_pcre regex?
Date: Sun, 21 Nov 2010 14:53:58 +0000
From: Adam Funk <a24061@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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 23
X-Trace: individual.net 9QvU4IYeOBLNESkl/1n98woeivBedbYHMwbjMjbzhk44qTg6py
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:7jPA4RPrBUQrzl81Xg49up1cS0Y=
 sha1:Td06dUcoIwMEvaMTpHQtI+Ch9Y8=
User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)
X-Original-Bytes: 1533