🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48636

Re: Slrn scoring and spaces

#48636
From: Dawn Owens-Nicholson
Date: Sun, 16 May 1999 00:00
24 lines
1416 bytes
Bek Oberin wrote:
> Aside from a score like
>    Subject: v.*i.*r.*g.*i.*n

Unfortunately, it's not any prettier, but it will get you fewer false
positives:

     Subject: \<v[ \t]*i[ \t]*r[ \t]*g[ \t]*i[ \t]*n\>

if you're looking for "virgin" as a word with any amount of whitespace
between characters.

> there any way to make slrn collapse all the spaces out of a subject
> before testing it?

Not without using S-Lang to do your scoring.  There is no S-Lang regular
expression metacharacter to remove all whitespace.  If you're interested in
S-Lang regular expression parsing, please read
<slrn7ju3e8.atc.bluemoon@ux6.cso.uiuc.edu>.

The referenced article can be found:
http://www.deja.com/msgid.xp?MID=%3Cslrn7ju3e8.atc.bluemoon@ux6.cso.uiuc.edu%3E

Technical Details
Message-ID: <slrn7ju3i6.atc.bluemoon@ux6.cso.uiuc.edu>
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!not-for-mail
References: <slrn7jqufg.pgb.bekj@mycroft.tertius.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7ju3i6.atc.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: Slrn scoring and spaces
Date: Sun, 16 May 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn7jqufg.pgb.bekj@mycroft.tertius.net.au>
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!not-for-mail
X-Deja-AN: 478541538
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.5 (UNIX)
Newsgroups: news.software.readers