🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51304

Re: [long] slrn and XPAT command

#51304
From: A Meowbot
Date: Sun, 18 Mar 2001 17:51
26 lines
2570 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> wrote:

> The right approach is to dump the whole syntax of XPAT entirely and define
> something that uses a real, generalized pattern-matching language like
> regular expressions.

Definitely.

> Looking at IMAP's SEARCH command is probably the right direction to
> go.

At least in the last draft I saw, IMAP was making the mistake of
inventing yet another incompatible regex syntax.  IIRC it also
contained a note that maybe 1003.2 syntax (hopefully with useful
regcomp flags, egrep-ish perhaps) might be a better way to go.  With
luck that WG will ultimately follow that course.

To get a decent NNTP search, it could help a lot to get the
expressions off the command line and into a POST-like multiline type
of input.  A query could then resemble the output of a HEAD command,
header names appearing one to a line and regexes appearing in place of
header contents. Server responses might resemble [X]OVER, with all the
requested header names spelled out to avoid the position dependence
stuff. or use some of the other output ideas slung about these parts
in the past.
Technical Details
Message-ID: <87puff3r09.fsf@litterbox.meowing.net>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!cyclone1.ba-dsg.net!typhoon2.ba-dsg.net.POSTED!not-for-mail
References: <RQtr6.140$KH2.554160@nnrp1.proxad.net> <tb1a1g5tdqa773@news.supernews.com> <ylu24vgskc.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <87puff3r09.fsf@litterbox.meowing.net>
Subject: Re: [long] slrn and XPAT command
Date: Sun, 18 Mar 2001 17:51:18 GMT
From: A Meowbot <meowbot@meowing.net>
References: <RQtr6.140$KH2.554160@nnrp1.proxad.net> <tb1a1g5tdqa773@news.supernews.com> <ylu24vgskc.fsf@windlord.stanford.edu>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!cyclone1.ba-dsg.net!typhoon2.ba-dsg.net.POSTED!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Mail-Copies-To: nobody
X-Meow: Wouf
X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\'
 GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ
 KOyEQK8*?
Organization: They
Lines: 25
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 141.154.26.194
X-Complaints-To: newsadmin@bellatlantic.net
X-Trace: typhoon2.ba-dsg.net 984937878 141.154.26.194 (Sun, 18 Mar 2001 12:51:18 EST)
NNTP-Posting-Date: Sun, 18 Mar 2001 12:51:18 EST