Thread View: news.software.readers
3 messages
3 total messages
Started by Marc Dashevsky
Sun, 20 Sep 1998 00:00
Gravity: Filters
Author: Marc Dashevsky
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
18 lines
990 bytes
990 bytes
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 Dashevsky (remove "_" from address to reply by e-mail)
Re: Gravity: Filters
Author: Tom B.
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
45 lines
2068 bytes
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
Re: Gravity: Filters
Author: Tony Edwards
Date: Thu, 01 Oct 1998 00:00
Date: Thu, 01 Oct 1998 00:00
38 lines
2065 bytes
2065 bytes
In article <MPG.106ec8c284e229b9989728@news.ne.mediaone.net>, m_arc@world.std.com says... > 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? > I think there may be a problem with view filters if you use "Unread Articles" within the advanced part of it. Set that basic property before going into the advanced tab. Also, regular expressions in Gravity are case-insensitive UNLESS they are in character classes, so what you typed is equivalent to "grav", and as noted by Tom, you don't need regular expressions here. Finally, I'm not sure what affect Body expressions have on view filters - it's something I would have to investigate. There are other ways to do this, of course, including scoring gravity high and then filtering on high scores ... that sort of thing. thanks, -- Tony Edwards MicroPlanet, Inc. http://www.microplanet.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads