Article View: news.software.readers
Article #55223Re: slrn: scoring challenge - usage of complement sets
From: teasmoke
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
48 lines
2613 bytes
2613 bytes
Still, questions about Sven Guckes' hands, which might one day hold *my* Myst
book, are unsettling to me:
> * teasmoke <gn08251@news.giganews.com>:
>
> > I must admit, I don't understand how .. <[^>]+> avoids matching
> > <.*gn08251@erudite.localdomain>) but it does.
>
# [] character set
# [^] negated character set ("complement")
#
# [^>]+ "at least one non-'>' character"
# [abc]* "a sequence of zero or more 'abc's" - eg
# �, a, b, c, ab, bc, ca, abc, aab, ccc,
# ,abcbcbabac, acbabcbabacbabcbac, ...
>
> See?
Well, yes. I know how to use those (whatever they're called), I throw them
around in vi a lot.
Of course, <[^>]+> actually doesn't avoid matching my IDs (which is what
I'd mistakenly thought), it's just that the recipe she provided is happy
to match <me> <123@foo> <456@bar> in *addition* to <me> <789@baz> <me> in
a given References line. (I don't know why similar recipes using [] that I
experimented with didn't.) Which works, though I have to throw in a = to avoid
scores in the 10000s for a given article.
> > Is there a Score: operator to skip the *remaining* tests?
>
> Nope.
Dang.
Oh well. I'll either have to do something with a single either-or recipe of
some sort (don't ask me what), or start using s-lang for my scoring. Or live
without line-count and poster relevancy for replies to me, it's not a big
deal.
Served with a smile,
--
Kerne
Technical Details
Message-ID:
<slrn85apk8.cm.gn08251@erudite.localdomain>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-mailReferences:
<slrn85412c.7cf.gn08251@erudite.localdomain> <slrn854an2.jr7.hezu@tuuri.ling.helsinki.fi> <slrn855n8b.1uh.gn08251@erudite.localdomain> <833met$3a88c$8@fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn85apk8.cm.gn08251@erudite.localdomain> Subject: Re: slrn: scoring challenge - usage of complement sets Date: Mon, 13 Dec 1999 00:00:00 +0000 From: gn08251@news.giganews.com (teasmoke) References: <slrn85412c.7cf.gn08251@erudite.localdomain> <slrn854an2.jr7.hezu@tuuri.ling.helsinki.fi> <slrn855n8b.1uh.gn08251@erudite.localdomain> <833met$3a88c$8@fu-berlin.de> 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: 560251499 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@GigaNews.Com X-Trace: sv2-NhoKUF1Oally9fQ+eHQGCZd1c0Oy+ZJJilqsHEoT9+0YXSCDlW/UXkJWNKBURysb9C25nOoiaS2qpeN!KkRfZ5EcMA== Organization: Giganews.Com - Premium News Outsourcing Mime-Version: 1.0 User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: kmfahey@toast.net NNTP-Posting-Date: Mon, 13 Dec 1999 15:35:28 CST Newsgroups: news.software.readers