Article View: news.software.readers
Article #124463Re: Dialog "Show Groups" query.
From: Norbert Schmidt
Date: Mon, 05 May 2003 01:20
Date: Mon, 05 May 2003 01:20
38 lines
2220 bytes
2220 bytes
Hello John, > I want to search through my full newsgroup list for all outlookexpress > newsgroups BUT exclude those groups that are german. I find that the regex > outlookexpress -de does NOT work however. > Is my syntax wrong ? If so then what should it be please ? well, the main problem is, what you wrote is not a "regular expression". It looks like a standard search expression for web search engines. And that's something completely different. Regular expressions have some characteristics of a programming language - they are very powerful and may look confusing. For starters have a look at dialog fine help (Reference->Regular Expressions). Some examples might help (Hello Markus: /hint, hint!/;-)) Now to your problem: I guess you wouldn't want Japanese, Hungarian or Danish newsgroups either. So it would be easier to select the hierarchies you want. An example could be: ^(alt|ms|comp).*outlook And now I take the magic out of this cryptic line: "^" - at the beginning says: Start seraching at the beginning. Without it the expression could match anywhere within the String. "(alt|ms|comp)" - search for one of these strings. ".*" - Matches any character, as often as necessary "outlook" - obvious. HIH. Regards, Norbert
Technical Details
Message-ID:
<lwkgmsrg19p0$.w3kfpp1261fn.dlg@40tude.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!p508b0a2b.dip0.t-ipconnect.DE!not-for-mailReferences:
<t9pb2dzzvb4d$.dlg@aspects.org.au>Show Full Headers
Complete Article Headers
Message-ID: <lwkgmsrg19p0$.w3kfpp1261fn.dlg@40tude.net> Subject: Re: Dialog "Show Groups" query. Date: Mon, 5 May 2003 03:20:08 +0200 From: Norbert Schmidt <me@privacy.net> References: <t9pb2dzzvb4d$.dlg@aspects.org.au> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!p508b0a2b.dip0.t-ipconnect.DE!not-for-mail Newsgroups: news.software.readers Lines: 37 NNTP-Posting-Host: p508b0a2b.dip0.t-ipconnect.de (80.139.10.43) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1052097609 16069131 80.139.10.43 (16 [188787]) User-Agent: 40tude_Dialog/2.0.4.1