Article View: news.software.readers
Article #56121Re: How to create a filter in MT-NewsWatcher
From: greg
Date: Wed, 29 Dec 1999 00:00
Date: Wed, 29 Dec 1999 00:00
39 lines
2530 bytes
2530 bytes
In article <live-23C066.12310329121999@news.randori.com>,
stefan <live@last.net> wrote:
>planb@newsreaders.com (J. Moreno) wrote:
>> Create a filter on the references header (using regular expressions)
>> with
>>
>> <live[^@]+@news.randori.com>$
>>
>> And that ought to do it.
> Thanks for the help. Do I need to include the '< >' and '$'?
Yes. The $ matches the end of line at the end of the References header,
making sure that the ID matched is the last ID in the header (thus a
direct response) and the < and > are part of that Message-ID. At the
very least, the > is essential as without it no match to the end of the
References header will occur.
In MT-NW, from the Help menu, select Regular Expressions, which is
second from the bottom. This gives a quick summarry of how regular
expressions work.
BTW, you'll get a slightly better targeted match with:
<live-[^@]+@news.randori.com>$
i.e. with the hyphen.
I wonder though how this reacts when the article's References header is
folded. Does MT-NW unfold the header before applying the filter?
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
--- (Not associated with Quake Clan Deimos, War Machine of Mars)
Technical Details
Message-ID:
<greg-AA37D1.18154529121999@news.binary.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-mailReferences:
<live-0AE78F.11574529121999@news.randori.com> <1e3kvrf.dzxegmu9y5p4N%planb@newsreaders.com> <live-23C066.12310329121999@news.randori.com>Show Full Headers
Complete Article Headers
Message-ID: <greg-AA37D1.18154529121999@news.binary.net>
Subject: Re: How to create a filter in MT-NewsWatcher
Date: Wed, 29 Dec 1999 00:00:00 +0000
From: greg@apple2.com
References: <live-0AE78F.11574529121999@news.randori.com> <1e3kvrf.dzxegmu9y5p4N%planb@newsreaders.com> <live-23C066.12310329121999@news.randori.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-mail
X-Deja-AN: 566311583
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Face: &@UA7$)=n9C7!qu%-5s},3tR@NEy+B>8PW"^,8?A>%."0{J2c1Yr]NKw';5/( J\r@/{UADjCdE~iRnOEOfbre(/1Y=$TS3Wt7B`a4sz,<EEumhL.DtryQ+!QoI8LE-v.s ;?26oj<q7"[b?Ouo
X-Trace: sv2-m9hd8r2UceAzPUgSB8r89tB6svkugrH1IMzSjPtQG+My7tSLhG/TfX9u/tXA3pGb5iaoNxpLC68Yhlo!9GItyBs9hf1suShFe8sOHpwVCQ==
Organization: II Infinitum
User-Agent: MT-NewsWatcher/3.0 (PPC)
NNTP-Posting-Date: Wed, 29 Dec 1999 18:16:31 CST
Newsgroups: news.software.readers