🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79175

Re: Cleanfeed - Any rules for invalid group names?

#79175
From: D. Stussy
Date: Thu, 03 Jul 2008 21:32
21 lines
1776 bytes
"Peter J Ross" <pjr@example.invalid> wrote in message
news:slrng6ndff.5jv.pjr@pjr.motzarella.org...
> ...
> Try this.
>
> [a-z0-9][a-z0-9_+-]*(\.([a-z0-9][a-z0-9_+-])*)*

OK.  I like that better.  However, I think that requires any component to
have at least two characters.  I think you have a misplaced inner left
parenthesis.

     [a-z0-9][-a-z0-9_\+]*(\.[a-z0-9][-a-z0-9_\+]*)*

Doesn't the dash have to appear first (so it's not a "broken range") and
doesn't the plus sign need to be escaped?

ISC's rules (which forbid a leading digit in a NG name) would be:

     [a-z][-a-z0-9_\+]*(\.[a-z0-9][-a-z0-9_\+]*)*

Technical Details
Message-ID: <g4jgi5$362$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail
References: <g3sqvk$8eh$1@snarked.org> <slrng6ndff.5jv.pjr@pjr.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <g4jgi5$362$1@snarked.org>
Subject: Re: Cleanfeed - Any rules for invalid group names?
Date: Thu, 3 Jul 2008 14:32:54 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <g3sqvk$8eh$1@snarked.org> <slrng6ndff.5jv.pjr@pjr.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 21
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-49-180.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1215120774 3266 71.118.49.180 (3 Jul 2008 21:32:54 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Thu, 3 Jul 2008 21:32:54 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 1533