🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #75032

Re: [slrn] Scoring reg expression

#75032
From: Allodoxaphobia
Date: Mon, 02 Apr 2001 01:55
53 lines
2620 bytes
On 2 Apr 2001 00:52:57 GMT, J.B. Nicholson-Owens scribbled:
>Allodoxaphobia wrote:
>> One needs a small (well, large) set of Subject: killers to get 
>> most of that ilk:
>> 
>>   Subject: money.*\d\d\d$
>>   Subject: \<sex.*\d\d\d$
>>   Subject: $$$.*\d\d\d$
>
>That last one might not parse the right way since '$' is a metachar.

Groan...   So right you are!

>Something like this should work and score quickly:
>
>[*]
>   Score: =-9999
>      Subject: \d\{3\}$
>      {::
>        Subject: money
>	Subject: \<sex
>	Subject: \$\{3\}
>      }
>
>Unfortunately I haven't seen this spam so I wasn't able to test this score
>entry to see if other criteria is needed to avoid killing things one wants
>to keep.  I attempted to say the article will be killed (assuming a
>kill_score of -9,999) if the article's subject has 3 neighboring digits at
>the end of the subject and at least one of the following:
>
>  * "money"
>  * a word that begins with "sex"
>  * 3 neighboring dollar signs
>
>The "and" joining those two parts together is from "Score:" (note the single
>colon), the "or" for money, sex, $$$ is from "{::" (note the double colon).

>I am using the slick new score syntax just introduced to slrn's official
>build.

However, my 'slick' ISP does not move on to new versions very rapidly.
  :-(

>Good luck.

With my ISP?  <BG>

Jonesy
-- 
  | Marvin L Jones       | jonz           |  W3DHJ   |  OS/2
  |  Gunnison, Colorado  |  @             |  Jonesy  |  linux   __
  |   7,703' -- 2,345m   |   frontier.net |  DM68mn             SK
Technical Details
Message-ID: <slrn9cfn0r.jv9.QSB@animas.frontier.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!sunqbc.risq.qc.ca!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!uunet!dca.uu.net!ash.uu.net!spool0.news.uu.net!reader1.news.uu.net!not-for-mail
References: <slrn9cff99.45b.n@lieckfeldt.net> <slrn9cfcjn.rtm.garry@zfw.zvolve.net> <slrn9cfh5m.553.QSB@animas.frontier.net> <slrn9cfj7s.6u.jbn@forestfield.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9cfn0r.jv9.QSB@animas.frontier.net>
Subject: Re: [slrn] Scoring reg expression
Date: Mon, 02 Apr 2001 01:55:40 +0000
From: QSB@QRM-QRN.net (Allodoxaphobia)
References: <slrn9cff99.45b.n@lieckfeldt.net> <slrn9cfcjn.rtm.garry@zfw.zvolve.net> <slrn9cfh5m.553.QSB@animas.frontier.net> <slrn9cfj7s.6u.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!sunqbc.risq.qc.ca!howland.erols.net!portc.blue.aol.com.MISMATCH!portc01.blue.aol.com!uunet!dca.uu.net!ash.uu.net!spool0.news.uu.net!reader1.news.uu.net!not-for-mail
Newsgroups: news.software.readers
Reply-To: If You Reply <use_the_adr_in_my_sig@the.bottom>
User-Agent: slrn/0.9.6.2 (Linux)
Lines: 52
NNTP-Posting-Host: 63.105.232.12
X-Trace: reader1.news.uu.net 986176540 26832 63.105.232.12