🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #66274

Re: slrn and regular expressions

#66274
From: J.B. Nicholson-Owens
Date: Tue, 03 Oct 2000 00:44
21 lines
1508 bytes
Anthony wrote:
> Humm doesn't seems to work on this one, especially C.A.B.L.E
> is in the middle of the subject.
> 
> Perhaps the following?
> 
> Subject: .*C.A.B.L.E.*

In slrn's scorefile these two Subject: scores are equivalent

#v+
  Subject: .*C.A.B.L.E.*
  Subject: C.A.B.L.E
#v-

because the two regular expressions are equivalent (regular expressions are
not anchored by default).  The latter is better because it will match or
fail to match more quickly and cause less backtracking.  Perhaps there is
some other score you have in your scorefile that makes this score work
differently?
Technical Details
Message-ID: <slrn8tiatr.m2.jbn@next.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.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrn8tbv2m.u3i.cbbrowne@knuth.brownes.org> <slrn8thv3e.5hs.locutus@defiant.starfleet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8tiatr.m2.jbn@next.forestfield.org>
Subject: Re: slrn and regular expressions
Date: Tue, 03 Oct 2000 00:44:52 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn8tbv2m.u3i.cbbrowne@knuth.brownes.org> <slrn8thv3e.5hs.locutus@defiant.starfleet.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.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 20
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 970533892 18167736 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.6.3 (Unix)