🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by RedawgTS Mon, 31 Mar 2003 18:12
Xnews: Need scoring help
#122453
Author: RedawgTS
Date: Mon, 31 Mar 2003 18:12
16 lines
1554 bytes
Currently I use a period where a space would generally be in my subject 
scores (example: hyper.police|star.ocean|bad.religion). I used to use 
spaces but I switched to this cause it catches spaces, underscores, dashes 
and any other character that's in it's place. That's all good but one thing 
it doesn't pick up on is if there is no character at all. In other words 
'bad.religion' will catch 'bad religion', 'bad_religion', & 'bad-religion' 
but it wont catch 'badreligion'. I've been looking through the pcre & 
scoring docs but haven't found anything yet. Could someone give me some 
help?


-- 
RedawgTS
"King of all the little people with really big swords."

Nevermind.
#122462
Author: RedawgTS
Date: Mon, 31 Mar 2003 18:21
9 lines
1055 bytes
Nevermind, I figured it out. I just have to change my . to .* and it works.



-- 
RedawgTS
"King of all the little people with really big swords."

Re: Nevermind.
#122461
Author: Tone Marie Berg
Date: Mon, 31 Mar 2003 22:33
14 lines
1529 bytes
RedawgTS <none@none.com> wrote in
news:Xns934F87E809B58none@63.240.76.16:

> Nevermind, I figured it out. I just have to change my . to .* and
> it works.

Or rather change them to ".?" since that catches "one or no character"
instead of "any number of any characters". ".*" may get you a lot more
than you bargained for.

Tone
-- 
Don't anger the man with the LART.
Re: Xnews: Need scoring help
#122467
Author: Tech Zero
Date: Mon, 31 Mar 2003 23:42
23 lines
1778 bytes
The voice of "RedawgTS" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Currently I use a period where a space would generally be in my
> subject scores (example: hyper.police|star.ocean|bad.religion). I
> used to use spaces but I switched to this cause it catches spaces,
> underscores, dashes and any other character that's in it's place.
> That's all good but one thing it doesn't pick up on is if there is
> no character at all. In other words 'bad.religion' will catch 'bad
> religion', 'bad_religion', & 'bad-religion' but it wont catch
> 'badreligion'. I've been looking through the pcre & scoring docs
> but haven't found anything yet. Could someone give me some help?


Sure... Look for "?" in the pcre file, as in "bad.?religion"...

-- 
The Tech Zero, Maxwell C.G. Pollare

Helpful Xnews Links:
* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Re: Xnews: Need scoring help
#122469
Author: Timothy Luders
Date: Tue, 01 Apr 2003 02:13
18 lines
1826 bytes
On Mon, 31 Mar 2003 18:12:22 GMT, RedawgTS wrote:

> Currently I use a period where a space would generally be in my subject 
> scores (example: hyper.police|star.ocean|bad.religion). I used to use 
> spaces but I switched to this cause it catches spaces, underscores, dashes 
> and any other character that's in it's place. That's all good but one thing 
> it doesn't pick up on is if there is no character at all. In other words 
> 'bad.religion' will catch 'bad religion', 'bad_religion', & 'bad-religion' 
> but it wont catch 'badreligion'. I've been looking through the pcre & 
> scoring docs but haven't found anything yet. Could someone give me some 
> help?

Try this? bad(.|)religion

Works in my tester.

Timothy
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