Article View: news.software.readers
Article #28603Re: NX Question
From: Conrad Sabatier
Date: Sun, 29 Dec 1996 00:00
Date: Sun, 29 Dec 1996 00:00
41 lines
1948 bytes
1948 bytes
In article <5a161b$sk_032@miketoth.mc.net>,
Spaminator@stop.spam (Spaminator) writes:
> I need a way to kill ANYTHING from "queen.net", "queen1.net" and
> "queene1.net". And ALSO, anything else that might fall within those
> boundaries. Like "queen5.net" "queenz9.net", etc. So, what can I use for my
> kill filter that will kill ANYTHING with the root "queen", and might have 1 or
> 2 characters after it? The ".net" isn't important, as I'll just make that into
> the normal extensions that they use. (.com, .edu, .net, .cum, etc.)
Simple. Use:
queen.* (remember, the period is the wildcard or "match any" character,
while the asterisk means "zero or more of the preceding")
If you want to be more exact, so as to avoid matching, say, "mcqueen",
then:
@queen.*
If you want to explicitly include the ".net" part:
@queen.*\.net (here the second period must be "escaped" so as to be
interpreted as the literal character)
Now, if they also vary the "extension" (.net, .com, .edu, etc.):
@queen.*\. (here we ignore whatever comes after the period, so it
matches them all!)
Hope this helps.
P.S. Watch your line lengths! :-)
--
Conrad Sabatier |
conrads@neosoft.com | Eschew obfuscation.
http://www.neosoft.com/~conrads |
Technical Details
Message-ID:
<5a4h7l$t2r@uuneo.neosoft.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!not-for-mailReferences:
<5a161b$sk_032@miketoth.mc.net>Show Full Headers
Complete Article Headers
Message-ID: <5a4h7l$t2r@uuneo.neosoft.com> Subject: Re: NX Question Date: Sun, 29 Dec 1996 00:00:00 +0000 From: conrads@neosoft.com (Conrad Sabatier) References: <5a161b$sk_032@miketoth.mc.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!not-for-mail X-Deja-AN: 206498113 Content-type: text/plain; charset=us-ascii Organization: NeoSoft, Inc. Mime-version: 1.0 Newsgroups: news.software.readers