🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #69377

[Newspro] Extended wildmat expressions

#69377
From: J.B. Nicholson-Owens
Date: Tue, 19 Dec 2000 09:58
29 lines
1983 bytes
By the way, you'd be better off mentioning the name of the newsreader in the
Subject: header.  It will probably draw the attention of people that use the
same newsreader and who would be most likely to give you the help you want.

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

I think that's not a conditional (or the conditional isn't working on what
you might want).  ".avi | .mpg" would seem to be equivalent to

   .avi( | ).mpg          [expression 1]

(note the no-op conditional whitespace) whereas I think you want

   *.(avi|mpg)*           [expression 2]

or perhaps without the second asterisk.  The leading period is common to
both subexpressions, so you could try factoring it out like I did.
According to the "^(*xxx*|*buy*|*blow*)" example, this should also work:

   (*.avi*|*.mpg*)        [expression 3]

even though it is repetitive (and might be equivalent to what I labeled
expression 2 above.

Good luck experimenting.
Technical Details
Message-ID: <slrn93uc7b.2p7.jbn@next.forestfield.org>
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!router1.news.adelphia.net!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <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: <slrn93uc7b.2p7.jbn@next.forestfield.org>
Subject: [Newspro] Extended wildmat expressions
Date: Tue, 19 Dec 2000 09:58:14 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
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!router1.news.adelphia.net!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 28
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 977219894 4764068 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.6.4 (Unix)