🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44616

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)

#44616
From: Curt Welch
Date: Tue, 29 Feb 2000 00:00
37 lines
2678 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]

> You didn't consider whitespace in the wildmat, though.  Probably
> define a special symbol in the wildmat syntax?

I thought about it.  I decided in my own mind that it just wasn't that
important.  You can always just use a ? where you would have wanted a space
and for most things that would work fine (or ?* for 1 or more white space
characters).  If you get any false positives at all you can filter them out
in the client.

I thought about adding a meta-character for whitespace to wildmat
but if you try to do that everywhere wildmat is used in NNTP you
run the risk of causing problems with some existing clients.  If you
do it only for the wildmat in the HEADERS command, you cause complexity
and confusion.

There is room in the current wildmat syntax to sneak stuff like that in
though.  \s currently maps to s, which most likely no would ever use, so
you could make \s be SP (or \b or \w, whatever), and most likely not cause
any real problems.

Wildmat however isn't meant to be an end-all regular expression
replacement. So the fact that it isn't perfect isn't a show stopper.  It's
main goal here (as I see it) is just to help cut out the bulk of what you
don't want so you only have to download 100 headers instead of 10000.  The
real detail work should be done on the client side anyway.

So my conclusion is that a single wildmat pattern (per header) with no
ability to enter a space would be fine.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000228195739.815$Zx@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000227033621.800$eb@newsreader.com> <951648329.164637@news.netscum.dk> <20000227162210.142$UD@newsreader.com> <951696824.53483@news.netscum.dk> <20000228025703.219$Yt@newsreader.com> <1ru2isuc9k.fsf@haey.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <20000228195739.815$Zx@newsreader.com>
Subject: Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
Date: Tue, 29 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000227033621.800$eb@newsreader.com> <951648329.164637@news.netscum.dk> <20000227162210.142$UD@newsreader.com> <951696824.53483@news.netscum.dk> <20000228025703.219$Yt@newsreader.com> <1ru2isuc9k.fsf@haey.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 591098370
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp