🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Tech Zero Thu, 05 Aug 2004 10:06
[hamster] Xref scoring question...
#153035
Author: Tech Zero
Date: Thu, 05 Aug 2004 10:06
38 lines
2357 bytes
Ok, it's actually more of a "validation" the a question...

I use some rather complex Xref entries in Xnews, so I'm a little 
concerned about how Hamster is going to "take em". 

For example, here's one of nastier ones:

  [^rec\.arts\.movies]
  Score:: -2700
      Xref: (?!.*?(animation|enterprise|screenplay))(.*?:){3}
      Xref: gossip|mythe|maharaj|slack

It's not like it's had to unravel...
To convert to nFilter it was a relatively simple matter:

  rec\.arts\.movies    	DROP    	xref:gossip
  rec\.arts\.movies    	DROP    	xref:mythe
  rec\.arts\.movies    	DROP    	xref:maharaj
  rec\.arts\.movies    	DROP    	xref:slack
  rec\.arts\.movies    	FLAG:    	xref:animation
  rec\.arts\.movies    	FLAG:    	xref:enterprise
  rec\.arts\.movies    	FLAG:    	xref:screenplay
  rec\.arts\.movies    	DROP    	xref:*:*:*:*

But I'm not sure how PCRE would be handled in Hamster...
Can Hamster handle the full Regex Version?

  [{^rec\.arts\.movies}]
  -2700 xref {gossip|mythe|maharaj|slack} {(?!.*?(animation|enterprise|screenplay))(.*?:){3}}

Or should I "un-slip-it" into something simpler, like this:

  [{^rec\.arts\.movies}]
  =-2700 xref "gossip" "mythe" "maharaj" "slack"
  -2700 xpost %>3 -@xref:"animation" "enterprise" "screenplay"

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
Re: [hamster] Xref scoring question...
#153063
Author: »Q«
Date: Thu, 05 Aug 2004 15:05
15 lines
1523 bytes
Tech Zero <aug-fuspam@dragonfur.ca> wrote in
<news:Xns953C29C5A7EF0ZeroOne@news.individual.net>:



> But I'm not sure how PCRE would be handled in Hamster...
> Can Hamster handle the full Regex Version?
>
>   [{^rec\.arts\.movies}]
>   -2700 xref {gossip|mythe|maharaj|slack} {(?!.*?(animation|enterprise|screenplay))(.*?:){3}}

Should work fine.

-- 
»Q«
Re: [hamster] Xref scoring question...
#153080
Author: Tech Zero
Date: Thu, 05 Aug 2004 20:20
17 lines
1555 bytes
The voice of "»Q«" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> But I'm not sure how PCRE would be handled in Hamster...
>> Can Hamster handle the full Regex Version?
>>
>>   [{^rec\.arts\.movies}]
>>   -2700 xref {gossip|mythe|maharaj|slack}
>>   {(?!.*?(animation|enterprise|screenplay))(.*?:){3}} 
> 
> Should work fine.


Thanks "Q".

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
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