Article View: news.software.readers
Article #151135Re: [slrn] Scoring Problem
From: Tech Zero
Date: Fri, 02 Jul 2004 19:44
Date: Fri, 02 Jul 2004 19:44
49 lines
2719 bytes
2719 bytes
The voice of "Jens Wahnes" drifted in on the cyber-winds,
from the sea of virtual chaos...
> Mike Vanecek wrote:
>
>> What am I doing wrong?
>
> slrn does not (currently) use Perl-style regular expressions but
> s-lang regular expressions, so the xpressions you used are not
> valid. Specifically, s-lang regular expressions miss the "or"
> operator that you made heavy use of.
>
> This very problem can usually be worked around by using the
> "grouping" feature of the scorefile syntax, i.e. putting
> (sub-)expressions into "{: }" or "{:: }"
As creator of that "Xnews Monstrosity", allow me... };8)
Score:: -4200 %Spamage... Viral Spamage
From: @toons-x\.com
From: @toontoon\.com
Subject: Britney.Spears
Subject: Christina.?Aguilera
Subject: Gina.Lynn
Subject: Hillary.Duff
Subject: Jennifer.Lopez
Subject: Jessica.Simpson
Subject: cap#
Subject: pic#
Subject: set#
Subject: vid#
Subject: free\b.*(?!pick)pi[cx]
Subject: free\b.*porn
Subject: free\b.*vid
Subject: \s\d{3,}(?<!200[0-5])$
"50[1-4]" & "445" in "\s\d{3,}(?<!200[0-5]|50[1-4]|445)" are exceptions
for a tech group I'm subscribed to, so they're not necessary.
> See http://www.s-lang.org/doc/html/slang-18.html for an overview
> of s-lang regular expressions and the last three paragraphs of
> score.txt for more information on grouping scorefile rules.
I'll have to make a note of this for my conversion tables...
--
The Tech Zero, Maxx "What's That Score" Pollare...
Discordian Time: 149:02:01 (1) [no thud]
Technical Details
Message-ID:
<Xns951A8BDE2D306ZeroOne@raven.dragonfur.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de>Show Full Headers
Complete Article Headers
Message-ID: <Xns951A8BDE2D306ZeroOne@raven.dragonfur.ca>
Subject: Re: [slrn] Scoring Problem
Date: Fri, 02 Jul 2004 19:44:58 +0000
From: Tech Zero <spamnet-jul@dragonfur.ca>
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 49
X-Trace: news.uni-berlin.de ig0O6IUdAxT3jvxqK3XsuwEgtXl5IomeWyLsWu8te3PRDhbvVG
User-Agent: Xnews/06.01.10
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
34_qR9](uXc,NLS?JRGg/.&1=