🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151133

Re: [slrn] Scoring Problem

#151133
From: Jens Wahnes
Date: Fri, 02 Jul 2004 19:05
17 lines
1679 bytes
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 "{:: }" 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.


Jens
Technical Details
Message-ID: <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!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail
References: <uvigr1-elj.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrncebcfq.tos.nsr@message-id.wahnes-world.de>
Subject: Re: [slrn] Scoring Problem
Date: Fri, 02 Jul 2004 19:05:30 +0000
From: Jens Wahnes <jewa@gmx.net>
References: <uvigr1-elj.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!not-for-mail
Newsgroups: news.software.readers
Organization: Wahnes World
Lines: 17
NNTP-Posting-Host: linda.rhrk.uni-kl.de
X-Trace: news.uni-kl.de 1088795130 7043 131.246.137.55 (2 Jul 2004 19:05:30
 GMT)
X-Complaints-To: usenet@news.uni-kl.de
NNTP-Posting-Date: Fri, 2 Jul 2004 19:05:30 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)