🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #160255

Re: Testing my slrn rules!

#160255
From: Allodoxaphobia
Date: Wed, 05 Jan 2005 18:14
45 lines
2357 bytes
On Wed, 5 Jan 2005 15:52:12 +0000, Toby wrote:
> On 2005-01-04, Allodoxaphobia <bit-bucket@config.com> wrote:
>> On Tue, 4 Jan 2005 14:19:07 +0000, Toby wrote:
>>>
>>> In some sence this should go in alt.test, but someone here might find it
>>> useful too.
>>>
>>> I've just added the line:
>>> include TobyScore
>>>
>>> to my ~/News/Score file, and created a file ~/News/TobyScore as follows:
>>>
>>> %BOS
>>>  [news.software.readers]
>>>      Score: =-356
>>>      % Only show slrn posts
>>>      ~Subject: slrn
>>> %EOS
>>>
>>> This post should test if it worked properly!
>>
>>  [news.software.readers, alt.lang.s-lang]
>>   Score:: =-9999
>> % This kills all but "s-lang", "slang", and "slrn"
>>   ~Subject: \<s-?l[ar]ng?

>
> Very swish! One question though: Why the '\<'?
> The regex:
> s-?l[ar]ng?
> matches both slrn, s-lang and slang.

Just to insure that it compared for a "sl...." as the
start of a 'word'.  Otherwise it would keep (not kill) a
Subject: with (fer instance) "Auslander", or some
other word I shouldn't be able to guess at this time. 

(Sorry, I could only come up with a German example under pressure. :-)

HNY
Jonesy
-- 
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
Technical Details
Message-ID: <slrnctobk7.2l73.bit-bucket@shell.config.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnctl9er.m4k.google@ID-171443.user.uni-berlin.de> <slrnctll1m.17s0.bit-bucket@shell.config.com> <slrncto39c.g9a.google@ID-171443.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrnctobk7.2l73.bit-bucket@shell.config.com>
Subject: Re: Testing my slrn rules!
Date: Wed, 05 Jan 2005 18:14:31 +0000
From: Allodoxaphobia <bit-bucket@config.com>
References: <slrnctl9er.m4k.google@ID-171443.user.uni-berlin.de> <slrnctll1m.17s0.bit-bucket@shell.config.com> <slrncto39c.g9a.google@ID-171443.user.uni-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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 45
Reply-To: Reply to the .sig address <NOSPAM_bit-bucket@config.com>
X-Trace: individual.net M4qwBJI5vVu1nd46nrbhBQMdqmbJwJAq8zzw/ugFYU9SRS6dRl
User-Agent: slrn/0.9.8.1 (FreeBSD)