Article View: news.software.nntp
Article #66865Re: New NNTP draft -- Section 4
From: Andrew - Supernews
Date: Sun, 19 Oct 2003 03:29
Date: Sun, 19 Oct 2003 03:29
39 lines
2819 bytes
2819 bytes
In article <871xta1bbb.fsf@windlord.stanford.edu>, Russ Allbery wrote:
> 4.1 Wildmat syntax
>
> A wildmat is described by the following ABNF [RFC2234] syntax (note
> that this syntax contains ambiguities and special cases described at
> the end):
>
> wildmat = wildmat-pattern *("," ["!"] wildmat-pattern)
Historical usage of commands such as LIST ACTIVE which take wildmat
parameters has not permitted comma-separated wildmat lists (only certain
commands, expressly documented such as NEWNEWS, have allowed that). We do not
currently support comma-separated lists except in the NEWNEWS case.
We support [] character sets but not \-escapes.
We don't yet support UTF-8 character-based matching (so for example a
LIST ACTIVE on dk.test.utf8-??? will not find a group, but dk.test.utf8-*
will). This will be changed in a future update. Literal UTF-8 characters
should work as expected.
> 4.2 Wildmat semantics
>
> A wildmat is tested against a string, and either matches or does not
> match. To do this, each constituent wildmat-pattern is matched
> against the string and the rightmost pattern that matches is
> identified. If that wildmat-pattern is not preceded with "!", the
> whole wildmat matches. If it is preceded by "!", or if no
> wildmat-pattern matches, the whole wildmat does not match.
Historical usage of wildmat-lists (outside the protocol as such, usually,
such as in configuration files) has usually been to treat a wildmat list
starting with "!" as though there was a preceeding "*,". i.e. a list such
as "!foo*" matches all groups not starting with "foo", just like "*,!foo*".
This is not what the specification says. Is this difference intentional?
--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID:
<slrnbp419k.2sl5.andrew+nonews@trinity.supernews.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrnbp419k.2sl5.andrew+nonews@trinity.supernews.net> Subject: Re: New NNTP draft -- Section 4 Date: Sun, 19 Oct 2003 03:29:56 -0000 From: Andrew - Supernews <andrew+nonews@supernews.com> References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: http://www.supernews.com - all your nntp are belong to us Reply-To: andrew@supernews.com User-Agent: slrn/0.9.7.4 (FreeBSD) X-Complaints-To: abuse@supernews.com Lines: 39