🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151388

Re: [slrn] Scoring Problem

#151388
From: Mike Vanecek
Date: Thu, 08 Jul 2004 18:12
41 lines
1958 bytes
On Fri, 2 Jul 2004 19:05:30 +0000 (UTC), Jens Wahnes wrote:
> 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

I read both references and am not sure it helps with the OR situation. E.g.,

Subject: this|that|more

still has to be written

Subject: this
Subject: that
Subject: more

If I understand it correctly??, the following would not work:

Subject: {::
  this
  that
  more
}

Hence, grouping really does not help with this?

-- 
  Thanks, Mike.
Technical Details
Message-ID: <51f0s1-fei.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!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99!news.usenetserver.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de>

Show Full Headers
Complete Article Headers
Message-ID: <51f0s1-fei.ln1@news.invalid.99computer>
Subject: Re: [slrn] Scoring Problem
Date: Thu, 08 Jul 2004 18:12:14 +0000
From: Mike Vanecek <MikeV99@privacy.net>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!c03.atl99!news.usenetserver.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 41
X-Archive: encrypt
User-Agent: slrn/0.9.8.0 (Linux)