Article View: news.software.readers
Article #69381Re: Do any one no how the wildmat command works
From: Nondeterministic Meowbot
Date: Tue, 19 Dec 2000 12:52
Date: Tue, 19 Dec 2000 12:52
33 lines
2438 bytes
2438 bytes
TTTTT <ttttt@ttttt.net> wrote:
> I'm trying to uses the (or) sign like
> Exp. .avi | .mpg
> (.avi, mpg)
> I read it over and over and still don't understand they should had put in
> more example and more info
> Thanks
> 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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
"classical" suggests it's using the server's wildmat implememtation
directly rather than preprocessing through the extended version
newspro seems to have. In that case, you most likely won't bre able
to use the () and | extensions.
You might try your expression as *.[am][vp][ig]* or perhaps allow
uppers too with *.[aAmM][vVpP][iIgG]*
This is indeed disgusting, but wildmats became news' pattern matching
language before XPAT appeared and it's not a great fit.
It might have been better for XPAT to instead use regular expressions,
but that raises yet another problem since there are a number of
not-quite-compatible regex syntaxes out there.
Technical Details
Message-ID:
<87zohsk1ya.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.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!wn4feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.us.ibm.net!ibm.net!news3.prserv.net!32.100.244.58References:
<kjv%5.77047$4K4.12380570@typhoon.southeast.rr.com> <1elujtb.1i5moy411utptsN%planb@newsreaders.com> <DUw%5.77456$4K4.12464241@typhoon.southeast.rr.com>Show Full Headers
Complete Article Headers
Message-ID: <87zohsk1ya.fsf@litterbox.meowing.net> Subject: Re: Do any one no how the wildmat command works Date: Tue, 19 Dec 2000 12:52:45 +0000 From: Nondeterministic Meowbot <meowbot@meowing.net> References: <kjv%5.77047$4K4.12380570@typhoon.southeast.rr.com> <1elujtb.1i5moy411utptsN%planb@newsreaders.com> <DUw%5.77456$4K4.12464241@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.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!wn4feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.us.ibm.net!ibm.net!news3.prserv.net!32.100.244.58 Newsgroups: 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: 32 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: 32.100.244.58 X-Trace: 19 Dec 2000 12:51:01 GMT, 32.100.244.58 X-Complaints-To: abuse@prserv.net