Article View: news.software.readers
Article #237240Re: Scoring with SLRN using the tilde character
From: Whiskers
Date: Mon, 19 Oct 2009 19:20
Date: Mon, 19 Oct 2009 19:20
61 lines
3417 bytes
3417 bytes
On 2009-10-19, Keith <kilowattradio@use-reply-to.invalid> wrote:
> On 2009-10-19, Mike Dee <mikedee@emteedee.invalid> wrote:
>> Keith wrote:
>>
>>> I tried to create a score with the tilde ~ and it wouldn't work.
>>> I tried with \~ and \\~ in case of an RE problem. Is the tilde the
>>> only character SLRN can't score on?
>>
>> You don't give an example of how you are using a tilde in a
>> score, but its used as a NOT condition in scoring, for example...
>>
>> Score: -9999
>> Message-ID: googlegroups
>> ~References: .
>>
>> Meaning; will kill all posts sent using Google Groups but NOT if
>> they contain a References header.
More precisely, that scorefile entry is looking for posts with a References
header that contains any character (the . means 'any character'). All
References headers contain some character (usually several) so in effect
this is looking for posts that have a References header (ie posts that are
responses to an earlier article).
>> Another example:
>>
>> [~*\.test$]
>>
>> Score: -9999
>> Subject: \btest(ing)?\b
>>
>> Meaning; A post made into any group hierarchy that is NOT a "test"
>> group, containing the word "test" or "testing" in the subject header
>> will get killed.
This one applies the score to all groups that haven't got the word test in
the name of the group.
> Sorry. I am attempting to score in the Subject: only.
>
> Subject: ~
> Subject: \~
> Subject: \\~
>
> all do not work in this version of SLRN I am using on Mac OS X 10.6.
What exactly are you trying to do?
Are you looking for articles that have a ~ character in the Subject
header? I've never felt the need to do that, but the syntax for testing
for a single character is to place it between [] (see
<http://www.jedsoft.org/slang/doc/html/slang-22.html#ss22.1>) so does this
work:
Score: -3
Subject: [~]
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnhdpev3.8g5.catwheezel@ID-107770.user.individual.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.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<TCQCm.55639$ua.41421@en-nntp-05.dc1.easynews.com> <Xns9CA987F992669emteedee@87.106.137.111> <qW0Dm.60330$Xw3.2190@en-nntp-04.dc1.easynews.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnhdpev3.8g5.catwheezel@ID-107770.user.individual.net> Subject: Re: Scoring with SLRN using the tilde character Date: Mon, 19 Oct 2009 20:20:03 +0100 From: Whiskers <catwheezel@operamail.com> References: <TCQCm.55639$ua.41421@en-nntp-05.dc1.easynews.com> <Xns9CA987F992669emteedee@87.106.137.111> <qW0Dm.60330$Xw3.2190@en-nntp-04.dc1.easynews.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 61 Reply-To: Whiskers <catwheezel@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net xGMW1TpXv+qoE2LY65rukQiFBGIl6TkRVCCDUV7glDUah8Olov X-Orig-Path: ID107770.user.individual.net!not-for-mail Cancel-Lock: sha1:4nSRtQxhMojapv3ABQL/WY/h5rY= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/pre0.9.9-94 (Linux)