Article View: news.software.readers
Article #243600Re: [Dialog 40tude] Filter doing more than I intended
From: Gene E. Bloch
Date: Fri, 03 Dec 2010 05:25
Date: Fri, 03 Dec 2010 05:25
73 lines
4514 bytes
4514 bytes
On Thu, 2 Dec 2010 21:05:32 -0800, Gene E. Bloch wrote:
> On Thu, 2 Dec 2010 22:48:50 -0500, Bill wrote:
>
>> On Thu, 2 Dec 2010 16:51:39 -0800, Gene E. Bloch wrote:
>>
>>> I set up a test with word delimiters to match (I thought) a name in a
>>> post in the header pane in this NG, and then I chose Groups - Apply
>>> scoring...and got nothing. I added another simpler test against another
>>> name I could see in the header pane and still nothing.
>>>
>>> I wonder if Apply... doesn't work, and I have to screen against incoming
>>> headers.
>>>
>>> BTW, my old tests do work - on incoming posts, at least. Naturally, I
>>> can't tell if they work on Apply...because the posts are already marked.
>>
>> I've only tested on incoming headers.
>>
>> The solution I've settled on (for now) to avoid the situation I
>> encountered is to not rely upon Dialgo's "add plonk filter" method for
>> creating filter rules. At least for those cases where the senders alias
>> consists of a very short string that's a common sequence of characters
>> (as with "ed") . Looks like my best option is to filter on the
>> sender's email -the a longer string would permit more precision.
>>
>> I'm still confused by dialogs filtering syntax. I've been operating on
>> the assumption that for non-regex filter rules: "a literal string"
>> goes between double quotes, and for a regex based rule: {a regular
>> expression} is placed between curly braces.
>
> Maybe that's why my tests failed :-)
>
> No. I had a test on Bill in quotes that failed on updating headers - but
> looking at the scorefile I see that I actually had Bill*. Oops. The
> other test was a regex, and it was in quotes, not braces, but there was
> no new traffic on that one. I'll use my middle initial this time...I'll
> fix that filter now.
>
> I did that and then I ran Apply Scoring. I am now scoring you, but not
> me yet.
>
> OK, I commented out the other filter on my name, and now the regex
> works. I guess the order of filters matters. I'll RTFM one of these days
> :-)
>
> Note that I'm applying the scorefile without refreshing the headers...
And reading new headers seems to work OK too - no surprise and no
surprises.
I was able to score anything with an isolated E, as well as my original
test, an isolated B. Actually B. and E., but the delimiter I used was
\b, and . qualifies (. in the sender line, not in the regex).
BUT - my regex was more complicated than it needed to be, probably:
+1111 From {.*\bE\b.*}
I probably didn't need the two .*, so I will test that.
Correct -
+1111 From {\bE\b}
works the same.
OK, I've now set my filters back to normal, and I'll sign off.
But note these:
Lesson 1: Read the manual.
Lesson 2: Get new bifocals - I'm talking about "Bill*" here :-)
--
Gene E. Bloch (Stumbling Bloch)
Technical Details
Message-ID:
<cjmvm1els4ji.1lrduemqw5bcr.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mailReferences:
<foqdndCtrYWJdGrRnZ2dnUVZ_rKdnZ2d@giganews.com> <8b3id98q6vvr$.1rqvtl6zbxhq4.dlg@40tude.net> <beGdndCbC6CkjWXRnZ2dnUVZ_gCdnZ2d@giganews.com> <8gfpwf2c94xj$.p2klezysd3en.dlg@40tude.net> <Q8mdnde1WLY59WXRnZ2dnUVZ_hCdnZ2d@giganews.com> <1plkvpplk3ebf$.1i8rkq976wvqa$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <cjmvm1els4ji.1lrduemqw5bcr.dlg@40tude.net> Subject: Re: [Dialog 40tude] Filter doing more than I intended Date: Thu, 2 Dec 2010 21:25:08 -0800 From: "Gene E. Bloch" <not-me@other.invalid> References: <foqdndCtrYWJdGrRnZ2dnUVZ_rKdnZ2d@giganews.com> <8b3id98q6vvr$.1rqvtl6zbxhq4.dlg@40tude.net> <beGdndCbC6CkjWXRnZ2dnUVZ_gCdnZ2d@giganews.com> <8gfpwf2c94xj$.p2klezysd3en.dlg@40tude.net> <Q8mdnde1WLY59WXRnZ2dnUVZ_hCdnZ2d@giganews.com> <1plkvpplk3ebf$.1i8rkq976wvqa$.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Newsgroups: news.software.readers Organization: Astrolabe Lines: 73 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net rq2JPeEq2EcwMk0Y+9BGhw3hTnBB2erUhxMtdR+d7Bz+FEPPOX+snFztmp5sBePVkAR3GFd7rIQXrvLR0VM/tA== NNTP-Posting-Date: Fri, 3 Dec 2010 05:25:10 +0000 (UTC) Cancel-Lock: sha1:RWDBC1d/FtpjzTjISXS0OCMs4yE= User-Agent: 40tude_Dialog/2.0.15.84 Injection-Info: news.albasani.net; logging-data="+sDdDjcQ/XYob7leqLvi0fRkyOuf76Cn/4W5Bft2B77iG8XKn+v97cX0oCsWYelVReTy1ZpkZnOo+l3Ik8z/XkOWDwdzQDMJi5K83FEhdxf0xIkefJ2IPywCXgiotBUF"; mail-complaints-to="abuse@albasani.net" X-Original-Bytes: 4301