Article View: news.software.readers
Article #243595Re: [Dialog 40tude] Filter doing more than I intended
From: Mike Dee
Date: Fri, 03 Dec 2010 00:29
Date: Fri, 03 Dec 2010 00:29
25 lines
2789 bytes
2789 bytes
Bill wrote: > !setcolor(red;white) From "Ed" > > This not only triggers on "Ed" but also when senders have "ed" > as a substring in senders name or email domain. Someone@here.edu > for example -- when that address is not *Ed's* email address. > > I really wasn't expecting dialog to match on substings (in this > case) like I would if this was a Regex expression. I must be > overlooking something very basic but I can't see it. My > understanding of this rule was that it should activate on "Ed", > but not "Fred", "Eddy" or ME@school.edu. Where have I gone > wrong with this rule? Not sure about Dialog's rules, but with regex in Xnews (and slrn and Pan) I'd need to escape "Ed" with the word boundaries "\b" as in \bed\b (case insensitive), otherwise it would also trap unwanted "Fred", "Eddy" or ME@school.edu. etc; etc; too. If you're not running this rule as a regex, perhaps it still requires the word boundaries anyway. -- dee
Technical Details
Message-ID:
<Xns9E4374F2CD288emteedee@212.227.158.24>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!feeder.news-service.com!weretis.net!feeder3.news.weretis.net!news.solani.org!not-for-mailReferences:
<foqdndCtrYWJdGrRnZ2dnUVZ_rKdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns9E4374F2CD288emteedee@212.227.158.24>
Subject: Re: [Dialog 40tude] Filter doing more than I intended
Date: Fri, 03 Dec 2010 00:29:46 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <foqdndCtrYWJdGrRnZ2dnUVZ_rKdnZ2d@giganews.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.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!feeder.news-service.com!weretis.net!feeder3.news.weretis.net!news.solani.org!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 25
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: solani.org 1291336186 8472
eJwFwQERADEIAzBLK1Cgcjb+8C/hE3oipyKZweXelMLksP1OPRyWR1+XvNve7DNZEzOYBfkD/GYQGg==
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Fri, 3 Dec 2010 00:29:46 +0000 (UTC)
X-User-ID: eJwNyskBwCAIBMCWkLAbKEcO+y9B5z34uFi/ETQcnKIKQsTK0xLiOkFPX68x85UdWjVik927LwXeESs=
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
Cancel-Lock: sha1:TmnbyesmIwYfXpyBlW3FfjUSYPI=
User-Agent: Xnews/2009.05.01
X-NNTP-Posting-Host: eJwFwYEBwCAIA7CXVFrQcxjQ/09YQvPtFXA6KEpzeriYiXM0teLy7c5hF9Cf2VUqTCGhH38zTRH9