🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49452

Re: Do any one no how the wildmat command works

#49452
From: Russ Allbery
Date: Wed, 20 Dec 2000 01:33
35 lines
2281 bytes
TTTTT <ttttt@ttttt.net> writes:

> I am trying to do a search with newspro and I need to no how to send the
> right wildmat command to the newsserver

> I'm trying to uses the (or) sign like
> Exp. .avi | .mpg
> (.avi, mpg)

wildmat as commonly implemented doesn't support this.  Some versions of
INN may do the right thing if you use a comma, but this is new with the
current draft of the NNTP standards and isn't official yet.

[...]

> The program extends wildmats by allowing case-sensitive searches and
> boolean expressions with nested parentheses which operands are
> wildmats. '^' means NOT, '|' - OR, '&' - AND. For example:
> ^(*xxx*|*buy*|*blow*) will ban all articles which contain xxx, buy,
> blow. But the extended wildmats can be used only inside the program,
> because newsservers don't understand them, so use them only in the
> selection, find dialogs and filters. '^' has the highest precedence; '&'
> has higher precedence than '|'.

The above is the paragraph that I think is directly relevant to what
you're trying to do.  Note the part about "the extended wildmats can only
be used inside the program."

(I'm disappointed that they chose to extend wildmat rather than just using
a more suitable pattern matching language for their own purposes, but
whatever.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <yl4rzzvpv4.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!newsfeed.mesh.ad.jp!sjc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <JHO%5.82826$4K4.13551173@typhoon.southeast.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl4rzzvpv4.fsf@windlord.stanford.edu>
Subject: Re: Do any one no how the wildmat command works
Date: Wed, 20 Dec 2000 01:33:03 +0000
From: Russ Allbery <rra@stanford.edu>
References: <JHO%5.82826$4K4.13551173@typhoon.southeast.rr.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!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!sjc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)