🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255486

Re: [slrn] Score file question

#255486
From: »Q«
Date: Fri, 13 Sep 2013 22:36
44 lines
2393 bytes
On Fri, 13 Sep 2013 15:12:07 +0000 (UTC)
Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> In message <slrnl34n5m.64k.pjr@homeridae.org> 
>   Peter J Ross <pjr@homeridae.org> wrote:
> > In news.software.readers on Sat, 7 Sep 2013 12:37:52 +0000 (UTC),
> > Lewis wrote:
> 
> >> I tried to create a score definition that would automatically add
> >> 100 to any messages posted to a private newsserver.
> >>
> >> [private.*]
> >> Score: 100
> >>    From: *
> 
> > Try
> > 	From: .*
> 
> >> this didn't work, but
> >>
> >> [private.*]
> >> Score: 100
> >>    From: bob@private.news
> >>
> >> Seemed to work for posts from bob.
> 
> > That's because it includes a meaningful regex. "*" (unlike ".*")
> > isn't interpreted as being meaningful.
> 
> 
> "From: *" is a meaningful regex, it means "From:" followed by zero or
> more spaces. 

In slrn's scorefile syntax, the regex begins *after* the name of the
header, the colon, and the space.  So in that example, the 'From: '
isn't part of any regex.

> However, slrn's score file doesn't process that and needs
> the '.'.

And in this case, the regex '.' would be better than '.*' .


Technical Details
Message-ID: <20130913173620.6c6e170c@fuchsia.remarqs.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!border2.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <slrnl2m7h0.11o5.g.kreme@mbp55.local> <slrnl34n5m.64k.pjr@homeridae.org> <slrnl36aq8.2hbb.g.kreme@jaka.local>

Show Full Headers
Complete Article Headers
Message-ID: <20130913173620.6c6e170c@fuchsia.remarqs.net>
Subject: Re: [slrn] Score file question
Date: Fri, 13 Sep 2013 17:36:20 -0500
From: »Q« <boxcars@gmx.net>
References: <slrnl2m7h0.11o5.g.kreme@mbp55.local> <slrnl34n5m.64k.pjr@homeridae.org> <slrnl36aq8.2hbb.g.kreme@jaka.local>
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!border2.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 44
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: mx05.eternal-september.org;
 posting-host="060f5767b3442f2bbdf7f4ad966e93e3";
 logging-data="31786"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19XChlt6uQzaOamzwTd7Zh7Dkph2zDGapcydh/mFBaFsQ=="
X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu)
Cancel-Lock: sha1:eNYy/90ocZCJur6cPbG4dMZFcu8=