🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Maxine G Tue, 04 Jan 2000 00:00
how to use wildcards in scoring in xNews
#56372
Author: Maxine G
Date: Tue, 04 Jan 2000 00:00
15 lines
1210 bytes
I looked a bit through old postings, and was unable to find a clear explanation 
of how to use wildcards in scoring in the xNews program. There were references 
to "regular expressions" but I'm not familiar enough with those. It seems like 
there must be a way to filter out spam using a wildcard value in the subject. 
Suppose I wanted to exclude all messages with the word "banjo" in the subject. 
Can anyone explain exactly how that would be done?

Thanks,

Maxine

-- 
mg at pcg dot net

Re: how to use wildcards in scoring in xNews
#56320
Author: Boss Hogg
Date: Tue, 04 Jan 2000 00:00
33 lines
2015 bytes
alt.distinguished.mg@nospam.com (Maxine G).wrote.posted.offered:

>I looked a bit through old postings, and was unable to find a clear
>explanation of how to use wildcards in scoring in the xNews program.
>There were references to "regular expressions" but I'm not familiar
>enough with those. It seems like there must be a way to filter out
>spam using a wildcard value in the subject. Suppose I wanted to
>exclude all messages with the word "banjo" in the subject. Can
>anyone explain exactly how that would be done? 

For "banjo" anywhere in the subject, use:
    	Subject: banjo

For "banjo", "bannjo", "banfredjo" and "ban jo", use:
     Subject: ban.*jo

For "banjo", "banko", and "banlo", but not "bantojo", use:
     Subject: ban.jo

All scoring on subject is by default case insensitive, i.e. "banjo" and 
"BANJO" and "BaNjO" are all matched by "banjo".

Regular expressions can be very, very powerful and flexible.  While 
it's perfectly possible to use Xnews scoring without any more knowledge 
than given here, it may be worthwhile for you to learn about them.

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

Re: how to use wildcards in scoring in xNews
#56324
Author: Maxine G
Date: Tue, 04 Jan 2000 00:00
35 lines
2106 bytes
boss@fnord.invalid (Boss Hogg) wrote in <8EB1BC29Ept101594@199.45.45.11>:

>alt.distinguished.mg@nospam.com (Maxine G).wrote.posted.offered:
>
>>I looked a bit through old postings, and was unable to find a clear
>>explanation of how to use wildcards in scoring in the xNews program.
>>There were references to "regular expressions" but I'm not familiar
>>enough with those. It seems like there must be a way to filter out
>>spam using a wildcard value in the subject. Suppose I wanted to
>>exclude all messages with the word "banjo" in the subject. Can
>>anyone explain exactly how that would be done? 
>
>For "banjo" anywhere in the subject, use:
>         Subject: banjo
>
>For "banjo", "bannjo", "banfredjo" and "ban jo", use:
>     Subject: ban.*jo
>
>For "banjo", "banko", and "banlo", but not "bantojo", use:
>     Subject: ban.jo
>
>All scoring on subject is by default case insensitive, i.e. "banjo" and 
>"BANJO" and "BaNjO" are all matched by "banjo".
>
>Regular expressions can be very, very powerful and flexible.  While 
>it's perfectly possible to use Xnews scoring without any more knowledge 
>than given here, it may be worthwhile for you to learn about them.
>

Great. Thanks. 
Do I need a copy of this score entry for each newsgroup I want to filter?

-Maxine

Re: how to use wildcards in scoring in xNews
#56439
Author: GM
Date: Wed, 05 Jan 2000 00:00
29 lines
1466 bytes
mg@nospam.com (Maxine G) wrote in <8EB1976D9mgatpcgdotnet@206.13.28.26>:

>[snip]
>Great. Thanks. 
>Do I need a copy of this score entry for each newsgroup I want to
>filter? 
>
>-Maxine
>

No. To keep with the banjo theme, in the score file you can make an entry 
like [bluegrass|folk]. It will apply the scores to ngs containing 
"bluegrass" or "folk" in their title. 

You can put more by using | (the OR character). 
Just stay on one line. For specific groups use [^group title$].

You can see more about them in the manual in the scoring section.
Also in scoring.txt and sample-score.ini.



Gregory

-- 
Make this a valid address:
put the land before the news.

Re: how to use wildcards in scoring in xNews
#56663
Author: mlm
Date: Tue, 11 Jan 2000 00:00
8 lines
926 bytes
On Tue, 04 Jan 2000 22:05:02 GMT, Maxine G <mg@nospam.com> wrote:
>Suppose I wanted to exclude all messages with the word "banjo" in the subject. 

Score:: -9999
    Subject: banjo


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