🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #43315

Re: Gravity: Filters

#43315
From: Tom B.
Date: Sun, 20 Sep 1998 00:00
45 lines
2068 bytes
Marc Dashevsky posted ...

> To expedite my reading of news.software.readers I use the following filter:
> 
> 	Unread articles
> 	And
> 	   (
> 	   Header contains reg. expr. "[Gg][Rr][Aa][Vv]"
> 	   Or
> 	   Body contains reg. expr. "[Gg][Rr][Aa][Vv]"
> 	   )
> 
> Unfortunately for me, many (all?) articles without "grav" in their
> header or body still appear.  Would someone please point out what it is
> that I have overlooked?
> 
> 

Marc, of course there are several ways to do this but for my 
Gravity filters I do not use a regular expression, I simply use: 

Subject contains "gravity"

I don't get any (or at least I have not seen one yet) false hits 
on subject. It seems "gravity" is not likely to be contained 
within another larger string. Also, general search strings are not 
case sensitive so it also hits GRAVITY or Gravity, etc.

I'm guessing but the complication is probably coming from having a 
condition in the filter that applies to the article body. Take out 
the body expression and see if it works better. I doubt you will 
miss many articles containing Gravity.

If you want to get an idea of unexpected results that arise from 
applying rules or actions to article bodies read up on when rules 
are evaluated in the help file. In summary, those rules with 
body actions are deferred until the article body is actually 
retrieved.

-- 

     Tom B.   NAPLES FL
     nfn03862@naples.net

Technical Details
Message-ID: <MPG.106f24943201a2369897e4@news.naplesfl.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
References: <MPG.106ec8c284e229b9989728@news.ne.mediaone.net>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.106f24943201a2369897e4@news.naplesfl.net>
Subject: Re: Gravity: Filters
Date: Sun, 20 Sep 1998 00:00:00 +0000
From: nfn03862@naples.net (Tom B.)
References: <MPG.106ec8c284e229b9989728@news.ne.mediaone.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: 393063328
Reply-To: nfn03862@naples.net
NNTP-Posting-Date: Sun, 20 Sep 1998 15:42:31 EDT
Newsgroups: news.software.readers