🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121530

Re: [slrn] scoring on subject in replies

#121530
From: Gruebait
Date: Sat, 08 Mar 2003 21:08
42 lines
2887 bytes
On 8 Mar 2003 20:23:47 GMT, someone, possibly J.B. Nicholson-Owens, scribed:
> Gruebait wrote:
>> [...] why do headers with: "Subject: Re: [X-news]" still get through?
>>
>> Ah...yes, being inside square brackets looks like a character class (1),
>> which would likely include a dash. At least in Perl (2)...I really have to
>> get to the bash manual (I'm a refugee from billg's world) (3)
> 
> I think you misunderstand how the scoring process works in slrn.  I have
> taken the liberty of numbering the misunderstandings above for reference.
> 
> (1) No, this does not look like a character class because the regular
>     expression does not have square brackets.  slrn does not treat the
>     Subject: header in the article as if it were a regular expression.  The
>     article's headers are treated as a string.  You did not specify a
>     character class in your score entry regular expression, so this whole
>     issue does not really exist.

Okay.

> 
> (2) Perl would not have a problem here either.  See (1).

Quite right. It's just that I'm somewhat familiar with Perl, not with Bash 
or S-lang.

> 
> (3) The bash manual won't help you understand S-Lang regular expressions.
>     The bash manual will help you understand bash shell wildcards.  However
>     bash shell wildcards don't come into play in this problem, so reading
>     the bash manual to better understand what's going on with this problem
>     doesn't make sense to me.

When I posted, it wasn't clear to me whether slrn was using S-lang pattern 
matching or shell conventions. Thanks for clearing that up.

Back to the manual(s).
-- 

 "You are in a maze of twisty passages, all alike." - Will Crowther
perl -e '$_="prxryyl\@qiby.pbz <Cenvt Kryyl>\n";tr/a-z/n-za-m/;print;'
Technical Details
Message-ID: <3e6a5bcf@news.starnetinc.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!news.starnetinc.com!not-for-mail
References: <3e69f26f@news.starnetinc.com> <n3hpj-6sq.ln1@news.gates_of_hell.INVALID> <3e6a1bef@news.starnetinc.com> <slrnb6km0o.a5p.jbn@forestfield.org>

Show Full Headers
Complete Article Headers
Message-ID: <3e6a5bcf@news.starnetinc.com>
Subject: Re: [slrn] scoring on subject in replies
Date: Sat, 08 Mar 2003 21:08:31 +0000
From: gruebait@OVERSPAMMED.com (Gruebait)
References: <3e69f26f@news.starnetinc.com> <n3hpj-6sq.ln1@news.gates_of_hell.INVALID> <3e6a1bef@news.starnetinc.com> <slrnb6km0o.a5p.jbn@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!news.starnetinc.com!not-for-mail
Newsgroups: news.software.readers
Organization: Haphazard
User-Agent: slrn/0.9.7.1 (Linux)
NNTP-Posting-Host: 64.24.17.118
X-Original-NNTP-Posting-Host: 64.24.17.118
X-Trace: news.starnetinc.com 1047157711 64.24.17.118 (8 Mar 2003 15:08:31 -0600)
Lines: 41
X-Complaints-To: abuse@megapop.net