Article View: news.software.readers
Article #151392Re: [slrn] Scoring Problem
From: Blinky the Shark
Date: Thu, 08 Jul 2004 18:45
Date: Thu, 08 Jul 2004 18:45
47 lines
2375 bytes
2375 bytes
Mike Vanecek wrote:
> 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
Those are ORs, right?
> still has to be written
> Subject: this
> Subject: that
> Subject: more
Aren't those ANDs?
> If I understand it correctly??, the following would not work:
> Subject: {::
> this
> that
> more
> }
That would be thre ORs, I believe, and would be the same as
this|that|more
--
Blinky Linux Registered User 297263
New June 23:
Linux In 20 Steps: (at Blinkynet) http://snipurl.com/7amq
Technical Details
Message-ID:
<slrncer5id.vnc.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news3References:
<uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de> <51f0s1-fei.ln1@news.invalid.99computer>Show Full Headers
Complete Article Headers
Message-ID: <slrncer5id.vnc.no.spam@thurston.blinkynet.net> Subject: Re: [slrn] Scoring Problem Date: Thu, 08 Jul 2004 18:45:34 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcfq.tos.nsr@message-id.wahnes-world.de> <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.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!news3 Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 47 NNTP-Posting-Host: p-654.newsdawg.com X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E User-Agent: slrn/0.9.7.4 (Linux)