Article View: news.software.readers
Article #57925Re: slrn / score / specifying pattern
From: Thorfinn
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
40 lines
2626 bytes
2626 bytes
In news.software.readers, on 10 Feb 2000 22:01:07 GMT
Kludge <X@Y.Z.net> wrote:
> I'm new at slrn -- having moved from tin when I recently dumped
> my old Internet Hassle Provider. I am now a happy customer at
> a new ISP -- but they seem to run a REALLY OLDE version of
> linux --- with associated OLDE applications.
> They're running slrn 0.9.4.3
Ewwww. That is old. :)
> I've read the old slrn doc's here (at the ISP ) and newer doc's
> on the web, and I am uncertain that the score file uses (full)
> Regular Expressions for the text of Subject:/From:, etc.
No, it doesn't use full REs. It uses slang REs. I believe there is
documentation for them floating about somewhere, but I'm not sure
where. I read the slang source, when I need to remember. :)
> I've gotten A LOT of scoring working for me, but for the life of
> me I cannot get one type of pattern to match:
> Subject: ^fa\s % kill Subject lines that start: "fa XYZ-2000.....
> Subject: ^fs\s % kill Subject lines that start: "fs XYZ-2000.....
\s is a perl RE only thing. Just put a space in there, it should
work. ie, 'Subject: ^fs ' should be fine.
Also, there's some slang RE elements that mean "end of word" and
similar, but I don't recall what they are at the moment.
Later,
Thorf
--
<a href = "http://netizen.com.au/~thorfinn/">thorfinn@netizen.com.au</a>
'Pooh?' he said. 'Yes, piglet?' pooh replied. 'Nothing,' piglet
said, taking pooh's paw, 'i just wanted to make an exception.'
-- MegaHal, trained on <gossamer@tertius.net.au>'s quotes file
Technical Details
Message-ID:
<slrn8a70jr.jfc.thorfinn@netizen.com.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-mailReferences:
<slrn8a6ctb.89g.X@animas.frontier.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn8a70jr.jfc.thorfinn@netizen.com.au> Subject: Re: slrn / score / specifying pattern Date: Fri, 11 Feb 2000 00:00:00 +0000 From: thorfinn@netizen.com.au (Thorfinn) References: <slrn8a6ctb.89g.X@animas.frontier.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.mbox.zip!not-for-mail X-Deja-AN: 584395096 X-Silly-Line: A truly wise man never plays leapfrog with a unicorn. X-Newsgroup: news.software.readers X-Complaints-To: usenet@hiro.netizen.com.au X-Trace: hiro.netizen.com.au 950239867 27347 127.0.0.1 (11 Feb 2000 03:31:07 GMT) Organization: Netizen - http://netizen.com.au/ X-Countdown-To-Y2K: 5 weeks 6 days 14 hours 28 minutes 16 seconds ago User-Agent: slrn/0.9.6.2 (Linux) Reply-To: thorfinn@netizen.com.au NNTP-Posting-Date: 11 Feb 2000 03:31:07 GMT Newsgroups: news.software.readers X-Religion: linux slrn mutt vim