🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49449

Do any one no how the wildmat command works

#49449
From: TTTTT
Date: Tue, 19 Dec 2000 19:30
135 lines
5895 bytes
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)

I search everywhere for the info the only info I found in 3 hours is this
http://www.landfield.com/faqs/usenet/software/inn-faq/part4/section-12.html
http://fag.grm.hia.no/dt2311/man/man3/wildmat.html#index
I read it over and over and still don't understand

Can someone please point be to more info about the wildmat command.
Something with a lot of example at lease the basic (and,or ,not) commands

Thanks

T

This is from newspro help

Search servers for patterns

NewsPro makes use of the XPAT command that allows search on newsservers
given a (classical) wildmat pattern. To perform a search - create a
newsgroup which name starts with '#', e.g. #JavaScriptSearch. Open the
newsgroup and press the get new headers button. A dialog will appear.
Enter
a list of newsgroup (you can make use of the 'newsgroup list' button to
switch to the newsgroup list and put selected newsgroup into clipboard
with
the help the 'copy selected' or 'copy all' entry in the context menu.
Enter
a wildmat pattern, select a header field and press OK. The program can
automatically transform a wildmat pattern to perform a case insensitive
search (but letters between brackets remain intact e.g. [a-z] is not
transformed to [a-zA-Z]).

You can open as many search 'groups' as necessary each with its own search
criteria. If a search criteria is changed during performing a search -
already running tasks for the corresponging search group will be finished
with the previous search criteria and pending tasks will be eventually
scheduled to run with the new search criteria with output to the same
search
group.
 Use the reset option or delete search groups to remove downloaded
headers.
Deleting headers or marking them read will be applied to all database as
in
the case with usual newsgroups - in search newsgroups headers are not
disappearing by themselves.

One small issue is arising during resetting or restoring the database when
headers in search groups do not belong to any subscribed group. In that
case
the #~TrashBin group will be created which will adopt all such headers.



Wildmat patterns - classical and boolean

Here is the description of the 'classical' wildmats (e.g. for server
searches):

  Wildmat compares the text against the pattern and returns non-zero if
the
pattern matches the text. The pattern is interpreted according to rules
similar to shell filename wildcards. The pattern is interpreted as
follows:
\x

Turns off the special meaning of x and matches it directly; this is used
mostly before a question mark or asterisk, and is not special inside
square
brackets.

?

Matches any single character.

*

Matches any sequence of zero or more characters.

[x...y]

Matches any single character specified by the set x...y. A minus sign may
be
used to indicate a range of characters. That is, [0-5abc] is a shorthand
for
[012345abc]. More than one range may appear inside a character set;
[0-9a-zA-Z._] matches almost all of the legal characters for a host name.
The close bracket, ], may be used if it is the first character in the set.
The minus sign, -, may be used if it is either the first or last character
in the set.

[^x...y]

This matches any character not in the set x...y, which is interpreted as
described above. For example, [^]-] matches any character other than a
close
bracket or minus sign.

HISTORY

Written by Rich $alz <rsalz@uunet.uu.net> in 1986, and posted to Usenet
several times since then, most notably in comp.sources.misc in March,
1991.

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 '|'.





--
====== Please DELETE This Line and Everything Below It When Replying! ====
THIS NEWSGROUP is only for questions about newsgroups and the Internet.
IF YOU HAVE questions on other topics, search for appropriate newsgroups
            using http://www.geocities.com/nnqweb/ngroups.html
LEARN about newsgroups at the news.newusers.questions Web site:
                    http://www.geocities.com/nnqweb/
======= The moderators append this notice to each posted article; ========
======= It does not imply that the article is on topic or correct ========


Technical Details
Message-ID: <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!pln-w!extra.newsguy.com!lotsanews.com!cyclone.tampabay.rr.com!cyclone.southeast.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <JHO%5.82826$4K4.13551173@typhoon.southeast.rr.com>
Subject: Do any one no how the wildmat command works
Date: Tue, 19 Dec 2000 19:30:49 GMT
From: "TTTTT" <ttttt@ttttt.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!newsfeed.mesh.ad.jp!pln-w!extra.newsguy.com!lotsanews.com!cyclone.tampabay.rr.com!cyclone.southeast.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 134
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 24.31.112.234
X-Complaints-To: abuse@mediaone.net
X-Trace: typhoon.southeast.rr.com 977254249 24.31.112.234 (Tue, 19 Dec 2000 14:30:49 EST)
NNTP-Posting-Date: Tue, 19 Dec 2000 14:30:49 EST
Organization: MediaOne - Atlanta