🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #143842

slrn scorefile syntax and avoiding unnecessary backtracking in regular expressions

#143842
From: J.B. Nicholson-Owens
Date: Wed, 18 Feb 2004 22:11
21 lines
1859 bytes
Mike Vanecek wrote:
> I have a fixed.score of 
> 
> %BOS  07/30/03
> [~*binaries*], [*]

The line with square brackets is not in the correct syntax.  To say what I
think you're trying to say (all newsgroups except those that match
"*binaries*"), you can say:

  [~ *binaries*]

followed by the rest of your score entry.

>         X-Original-References: .*@news\.invalid\.99computer*

You should consider dropping the ".*" there--slrn will score faster without
it because that will cause much unnecessary backtracking.  Also, do you
really mean to say "0 or more r's" at the end of "computer"?

Happy newsreading.
Technical Details
Message-ID: <slrnc37p80.svg.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.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <c07sq5$4st$1@custnews.inweb.co.uk> <c08167$5og$1@custnews.inweb.co.uk> <slrnc2fihf.a5.no.spam@thurston.blinkynet.net> <nnqpf1-54l.ln1@news.invalid.99computer> <102lg2j58bs3323@news.supernews.com> <q9fcg1-ric.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrnc37p80.svg.jbn@forestfield.org>
Subject: slrn scorefile syntax and avoiding unnecessary backtracking in regular expressions
Date: Wed, 18 Feb 2004 22:11:02 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <c07sq5$4st$1@custnews.inweb.co.uk> <c08167$5og$1@custnews.inweb.co.uk> <slrnc2fihf.a5.no.spam@thurston.blinkynet.net> <nnqpf1-54l.ln1@news.invalid.99computer> <102lg2j58bs3323@news.supernews.com> <q9fcg1-ric.ln1@news.invalid.99computer>
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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 21
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: news.uni-berlin.de 1077142262 46633019 I 208.216.67.173 ([35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.0 (Linux)