🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121526

Re: [slrn] scoring on subject in replies

#121526
From: J.B. Nicholson-Owens
Date: Sat, 08 Mar 2003 20:23
25 lines
2237 bytes
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.

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

(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.
Technical Details
Message-ID: <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!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <3e69f26f@news.starnetinc.com> <n3hpj-6sq.ln1@news.gates_of_hell.INVALID> <3e6a1bef@news.starnetinc.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb6km0o.a5p.jbn@forestfield.org>
Subject: Re: [slrn] scoring on subject in replies
Date: Sat, 08 Mar 2003 20:23:47 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <3e69f26f@news.starnetinc.com> <n3hpj-6sq.ln1@news.gates_of_hell.INVALID> <3e6a1bef@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!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 24
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 1047155027 65864984 208.216.67.173 (16 [35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4pl2 (GNU/Linux)