🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Keith Mon, 19 Oct 2009 03:00
Scoring with SLRN using the tilde character
#237213
Author: Keith
Date: Mon, 19 Oct 2009 03:00
10 lines
1159 bytes
 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? 



-- 
Best Regards, Keith   | http://home.comcast.net/~kilowattradio/
Tired of Google Groups? Use free Usenet access & programs.
http://home.comcast.net/~kilowattradio/usenet.html
Re: Scoring with SLRN using the tilde character
#237206
Author: Mike Dee
Date: Mon, 19 Oct 2009 03:21
29 lines
2211 bytes
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. 

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.
  
-- 
dee
Re: Scoring with SLRN using the tilde character
#237233
Author: Keith
Date: Mon, 19 Oct 2009 17:00
44 lines
2343 bytes
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... 

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.



>
> Score: -9999
>  Message-ID: googlegroups
>  ~References: .
>
> Meaning; will kill all posts sent using Google Groups but NOT if
> they contain a References header. 
>
> 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.
>   

-- 
Best Regards, Keith   | http://home.comcast.net/~kilowattradio/
Tired of Google Groups? Use free Usenet access & programs.
http://home.comcast.net/~kilowattradio/usenet.html
Re: Scoring with SLRN using the tilde character
#237238
Author: JimH
Date: Mon, 19 Oct 2009 19:06
26 lines
1609 bytes
Keith <kilowattradio@use-reply-to.invalid> wrote in news:qW0Dm.60330$Xw3.2190
@en-nntp-04.dc1.easynews.com:

> 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... 
> 
> 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.
> 

Lemme see if I understand you:

You're trying to find Subject lines that contain a tilde, right?
Re: Scoring with SLRN using the tilde character
#237240
Author: Whiskers
Date: Mon, 19 Oct 2009 19:20
61 lines
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 
-- ~~~~~~~~~~
Re: Scoring with SLRN using the tilde character
#237258
Author: W. Citoan
Date: Mon, 19 Oct 2009 22:34
26 lines
2307 bytes
Whiskers wrote:
> 
>  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: [~]

That's not quite correct.  The brackets mean match any single character
of any of the characters (or range of characters) inside the brackets.
If you want to match just a single character, you don't need the
brackets.

The following two lines are identical: 

    Subject: A
    Subject: [A]

- W. Citoan
-- 
I will not be ashamed to defend a friend; neither will I hid myself from
him.
-- Ecclesiasticus (Book of Sirach)
Re: Scoring with SLRN using the tilde character
#237259
Author: W. Citoan
Date: Mon, 19 Oct 2009 22:35
25 lines
2156 bytes
Keith wrote:
> 
>  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.

On the Window's version of 0.9.8.1, the following works as you want:

    [*]
        Score: 444
        subject: ~

No escaping required.  If it's not working for you, please post your
entire score entry.  It's possible you don't have the rest of the entry
correct which could be causing the problem.

- W. Citoan
-- 
I will not be ashamed to defend a friend; neither will I hid myself from
him.
-- Ecclesiasticus (Book of Sirach)
Re: Scoring with SLRN using the tilde character
#237262
Author: Keith
Date: Tue, 20 Oct 2009 00:00
36 lines
2388 bytes
On 2009-10-19, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:
> Keith wrote:
>> 
>>  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.
>
> On the Window's version of 0.9.8.1, the following works as you want:
>
>     [*]
>         Score: 444
>         subject: ~
>
> No escaping required.  If it's not working for you, please post your
> entire score entry.  It's possible you don't have the rest of the entry
> correct which could be causing the problem.
>
> - W. Citoan

 I went back over my score entry and I had a dreaded Subject: . for that 
group before my tilde score so the scoring on a tilde was being over 
ridden by design. Ugh My mistake!
A v on the article revealed the 
Subject: . 
scoring. 



-- 
Best Regards, Keith   | http://home.comcast.net/~kilowattradio/
Tired of Google Groups? Use free Usenet access & programs.
http://home.comcast.net/~kilowattradio/usenet.html
Re: Scoring with SLRN using the tilde character
#237313
Author: JimH
Date: Tue, 20 Oct 2009 07:25
14 lines
1322 bytes
Keith <kilowattradio@use-reply-to.invalid> wrote in news:647Dm.55923$ua.2225
@en-nntp-05.dc1.easynews.com:

> 
>  I went back over my score entry and I had a dreaded Subject: . for that 
> group before my tilde score so the scoring on a tilde was being over 
> ridden by design. Ugh My mistake!
> A v on the article revealed the 
> Subject: . 
> scoring. 
> 

Don't ya just hate when that happens? :)
Re: Scoring with SLRN using the tilde character
#237322
Author: Whiskers
Date: Tue, 20 Oct 2009 12:07
22 lines
2240 bytes
On 2009-10-20, JimH <nvm@nunya.biz> wrote:
> Keith <kilowattradio@use-reply-to.invalid> wrote in news:647Dm.55923$ua.2225
> @en-nntp-05.dc1.easynews.com:
>
>> 
>>  I went back over my score entry and I had a dreaded Subject: . for that 
>> group before my tilde score so the scoring on a tilde was being over 
>> ridden by design. Ugh My mistake!
>> A v on the article revealed the 
>> Subject: . 
>> scoring. 
>> 
>
> Don't ya just hate when that happens? :)

A "Sorceror's Apprentice" situation; the things do what I tell them 
to do, not what I meant ...

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Scoring with SLRN using the tilde character
#237327
Author: JimH
Date: Tue, 20 Oct 2009 13:46
30 lines
2348 bytes
Whiskers <catwheezel@operamail.com> wrote in
news:slrnhdr9vc.c8d.catwheezel@ID-107770.user.individual.net: 

> On 2009-10-20, JimH <nvm@nunya.biz> wrote:
>> Keith <kilowattradio@use-reply-to.invalid> wrote in
>> news:647Dm.55923$ua.2225 @en-nntp-05.dc1.easynews.com:
>>
>>> 
>>>  I went back over my score entry and I had a dreaded Subject: . for
>>>  that 
>>> group before my tilde score so the scoring on a tilde was being over 
>>> ridden by design. Ugh My mistake!
>>> A v on the article revealed the 
>>> Subject: . 
>>> scoring. 
>>> 
>>
>> Don't ya just hate when that happens? :)
> 
> A "Sorceror's Apprentice" situation; the things do what I tell them 
> to do, not what I meant ...
> 

LOL! Oh yes, definitely. I can't wait until someone comes out with an AI 
operating system. It would learn what you're likely to do, and then point out 
when you make this kind of mistake.

It would cut down on the number of times I scream out, "Do what I want, not 
what I said!!"
Re: Scoring with SLRN using the tilde character
#237328
Author: Jon Solberg
Date: Tue, 20 Oct 2009 13:59
19 lines
2359 bytes
On 2009-10-20, JimH <nvm@nunya.biz> wrote:

>[...] I can't wait until someone comes out with an AI operating
> system. It would learn what you're likely to do, and then point out
> when you make this kind of mistake.
>
> It would cut down on the number of times I scream out, "Do what I want, not 
> what I said!!"

It's already implemented in Microsoft Word. The only problem is the
developers implemented it backwards. So instead of 'Do what I want,
not what said!' we have 'Do what I said, not what you think I want to
do!'.

Not a MS Word user. I think I want to stay from the asylum _just_ a
bit longer.

-- 
Jon Solberg (remove "nospam." from email address).
Re: Scoring with SLRN using the tilde character
#237331
Author: Gene E. Bloch
Date: Tue, 20 Oct 2009 18:01
25 lines
2283 bytes
On Tue, 20 Oct 2009 13:07:08 +0100, Whiskers wrote:

> On 2009-10-20, JimH <nvm@nunya.biz> wrote:
>> Keith <kilowattradio@use-reply-to.invalid> wrote in news:647Dm.55923$ua.2225
>> @en-nntp-05.dc1.easynews.com:
>>
>>> 
>>>  I went back over my score entry and I had a dreaded Subject: . for that 
>>> group before my tilde score so the scoring on a tilde was being over 
>>> ridden by design. Ugh My mistake!
>>> A v on the article revealed the 
>>> Subject: . 
>>> scoring. 
>>> 
>>
>> Don't ya just hate when that happens? :)
> 
> A "Sorceror's Apprentice" situation; the things do what I tell them 
> to do, not what I meant ...

Little did I realize, when I saw Fantasia for the first time, that I was
seeing a paradigm for my efforts at programming :-)

-- 
Gene E. Bloch      letters0x40blochg0x2Ecom
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads