🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #75028

Re: [slrn] Scoring reg expression

#75028
From: Allodoxaphobia
Date: Mon, 02 Apr 2001 00:15
40 lines
2208 bytes
On Sun, 01 Apr 2001 22:57:59 GMT, Garry Williams scribbled:
>On Sun, 1 Apr 2001 23:43:37 +0000, Norbert Lieckfeldt <n@lieckfeldt.net> wrote:
>> At the moment, there's another rash of spam doing the rounds advertising
>> either a cable descrambler or pheromones of some sort. I have so far been
>> unable to find any way of blocking this - however, it appears that all
>> subject lines always end in a random four-figure number. I'm sure it's
>> possible to score on any subject lines ending in that type of number?Can
>> anyone help me out? my knowledge of reg expressions is derisory.
>
>[*]
>Score: =-9999
>	Subject: [0-9][0-9][0-9][0-9]$

More better, maybe, Subject: \d\d\d\d$

However, Be careful!

That will kill things like
  Subject: How many Friday-the-thirteens are there in 2001
  Subject: Best price on SONY 4000
und
 so
  weiter.

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$
und
 so
  weiter.

Jonesy
-- 
  | Marvin L Jones       | jonz           |  W3DHJ   |  OS/2
  |  Gunnison, Colorado  |  @             |  Jonesy  |  linux   __
  |   7,703' -- 2,345m   |   frontier.net |  DM68mn             SK
Technical Details
Message-ID: <slrn9cfh5m.553.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!freenix!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!reader0.news.uu.net!not-for-mail
References: <slrn9cff99.45b.n@lieckfeldt.net> <slrn9cfcjn.rtm.garry@zfw.zvolve.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9cfh5m.553.QSB@animas.frontier.net>
Subject: Re: [slrn] Scoring reg expression
Date: Mon, 02 Apr 2001 00:15:51 +0000
From: QSB@QRM-QRN.net (Allodoxaphobia)
References: <slrn9cff99.45b.n@lieckfeldt.net> <slrn9cfcjn.rtm.garry@zfw.zvolve.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!freenix!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!reader0.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: 39
NNTP-Posting-Host: 63.105.232.12
X-Trace: reader0.news.uu.net 986170551 29878 63.105.232.12