🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Murray Peterson Sat, 23 Aug 2003 05:13
Re: [Xnews] Is this a valid way to make a killfile?
#131412
Author: Murray Peterson
Date: Sat, 23 Aug 2003 05:13
31 lines
1895 bytes
amrk@home.net wrote in news:n6idkvk6d26r3pec93hd0rp1a81fa1jv98@4ax.com:

> Is this a valid kill file for articles I don't want to see?
> 
> Is the formatting correct, especially with the double colons?
> 
> [.]
> % kill subjects
> 
> Score::   -9999
> subject:outlook|dialog|newsman
> subject:pan|linux|bastard|fuck

Looks mostly OK.  I think that the header should be "Subject:" instead of 
"subject:", and put a space between the colon and the first filter 
expression.  Also, the expression "pan" may be a bit to generic -- do you 
want to kill all subjects that contain "pan" in them?  e.g. It would kill 
subjects containing "panda", "pandora", etc.

Try this:
[.]
Score::   -9999
Subject: outlook|dialog|newsman
Subject: \bpan\b|linux|bastard|fuck


-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: [Xnews] Is this a valid way to make a killfile?
#131497
Author: John Wunderlich
Date: Sat, 23 Aug 2003 19:17
15 lines
1387 bytes
mike@folga.org wrote in
news:0iaekv0oj55d8m74d53epcdm4vlcjvtlve@4ax.com: 

> I have since come across the way to get rid of everything except
> Xnews: 
> 
> Score:   -9999
> ~Subject: xnews
> 

Wouldn't this also kill people who put "X-news" in the subject line?
I use  x.?news  in my filter.

-- John
Re: [Xnews] Is this a valid way to make a killfile?
#131500
Author: MartinS
Date: Sat, 23 Aug 2003 19:40
26 lines
2091 bytes
On 23 Aug 2003, John Wunderlich <jwunderlich@lycos.com> wrote :

> mike@folga.org wrote: 
> 
>> I have since come across the way to get rid of everything except
>> Xnews: 
>> 
>> Score:   -9999
>> ~Subject: xnews
> 
> Wouldn't this also kill people who put "X-news" in the subject line?
> I use  x.?news  in my filter.

It would also kill newbies' posts that might be about Xnews but not have 
Xnews in the subject. And if you didn't put [news.software.readers] in 
place of [.] wouldn't it kill posts that don't have Xnews in the subject 
in all groups?

I think the original idea is safer, to kill posts that have specific 
names that you're not interested in and leave the rest. I do basically 
the same thing manually by marking threads with '[' and ']'. I then do a 
'U' and the focus jumps back to the first unread post.

-- 
Martin S.
Re: [Xnews] Is this a valid way to make a killfile?
#131507
Author: Jeff Relf
Date: Sat, 23 Aug 2003 20:02
16 lines
1717 bytes
Hi John Wunderlich ,  You say :  " x.?news "

Would that work ?  X-News is case sensitive .

...
I always like to see examples of regex like this .

Another poster reminded about \b today .
  It matches word breaks .

For example {\bPan\b} matches  " Pan "  but not  " pantheon "
..

In Dialog ,  If you want case sensitivity you have to do :
  {(?-i)\bPan\b}
Re: [Xnews] Is this a valid way to make a killfile?
#131508
Author: MartinS
Date: Sat, 23 Aug 2003 20:08
19 lines
1734 bytes
On 23 Aug 2003, Jeff Relf <___Jeff-Relf@NCPlus.NET> wrote :

> Hi John Wunderlich ,  You say :  " x.?news "
> 
> Would that work ?  X-News is case sensitive .
> 
> ...
> I always like to see examples of regex like this .
> 
> Another poster reminded about \b today .
>   It matches word breaks .
> 
> For example {\bPan\b} matches  " Pan "  but not  " pantheon "

But does it match '[Pan]' ?

-- 
Martin S.
Re: [Xnews] Is this a valid way to make a killfile?
#131511
Author: John Wunderlich
Date: Sat, 23 Aug 2003 20:10
28 lines
1802 bytes
Jeff Relf <___Jeff-Relf@NCPlus.NET> wrote in 
news:f45xotynufvw.dlg@_Jeff.Relf:

> Hi John Wunderlich ,  You say :  " x.?news "
> 
> Would that work ?  X-News is case sensitive .
> 
> 

The following is not case-sensitive:
     Subject: x.?news
The following is case-sensitive:
     Subject= x.?news

Quoting from "Scoring.txt":

Note that all keywords are case insensitive.  So too are all regular 
expressions, so you don't need to write [Ff][Oo][Oo], just foo will do. 
If you want the  expression-to-match to be case sensitive, then put an 
equal sign instead of of a : after the keyword, e.g.


	[.]
		Score: -9999
		~Subject= .*[a-z]

-- John
Re: [Xnews] Is this a valid way to make a killfile?
#131512
Author: Jeff Relf
Date: Sat, 23 Aug 2003 20:17
6 lines
1550 bytes
Hi MartinS ,  You ask :  " But does it match '[Pan]' ? "

Yes .  But I'd test it to be sure .

I recently switched to Dialog from Xnews .
Re: [Xnews] Is this a valid way to make a killfile?
#131516
Author: Jeff Relf
Date: Sat, 23 Aug 2003 20:27
19 lines
1886 bytes
Hi John Wunderlich ,  You say :
" The following is not case-sensitive:
       Subject: x.?news
  The following is case-sensitive:
       Subject= x.?news "


Thanks .  I had forgotten that .

In Xnews ,  I was using all case sensitive matching .

In order to get my case sensitive matching in Dialog
  I had to go from :

    Score:: 1
         Subject= Match|match
    to :
         +1 Subject {(?-i)Match|match}
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