Thread View: news.software.readers
6 messages
6 total messages
Started by Kjartan Anthun
Tue, 08 Aug 2000 00:00
[xnews] - Problems with score-file?
Author: Kjartan Anthun
Date: Tue, 08 Aug 2000 00:00
Date: Tue, 08 Aug 2000 00:00
17 lines
1097 bytes
1097 bytes
Hi,
I'm not an expert on regular expressions, but I can't
understand why this won't work:
Score: -500
~From: ^[A-Z].*[a-z]$
If I remove the "~" before "From" it scores everybody,
but I was hoping to score down users that post with
"(my name)", " -- I am so cool -- " and so on :)
--
Kjartan Anthun - kjartan@anthun.net
evil.crudpuppy.net
Re: [xnews] - Problems with score-file?
Author: Murray Peterson
Date: Tue, 08 Aug 2000 00:00
Date: Tue, 08 Aug 2000 00:00
24 lines
1489 bytes
1489 bytes
kjartan@anthun.net (Kjartan Anthun) wrote: >Hi, > >I'm not an expert on regular expressions, but I can't >understand why this won't work: > > Score: -500 > ~From: ^[A-Z].*[a-z]$ > >If I remove the "~" before "From" it scores everybody, >but I was hoping to score down users that post with >"(my name)", " -- I am so cool -- " and so on :) It would be helpful if you could cut and paste an exact example of the sort of From: field you want to kill. The normal sort looks like this: name@place(nickname). I don't understand your example at all. -- Murray Peterson Email: murray_peterson@home.com (remove underscore) URL: http://www.members.home.net/murraypeterson
Re: [xnews] - Problems with score-file?
Author: J. B. Moreno
Date: Wed, 09 Aug 2000 00:00
Date: Wed, 09 Aug 2000 00:00
35 lines
2194 bytes
2194 bytes
Kjartan Anthun <kjartan@anthun.net> wrote: > Murray Peterson tastet f�lgende: > >> > >>I'm not an expert on regular expressions, but I can't > >>understand why this won't work: > >> > >> Score: -500 > >> ~From: ^[A-Z].*[a-z]$ > >> > >>If I remove the "~" before "From" it scores everybody, > >>but I was hoping to score down users that post with > >>"(my name)", " -- I am so cool -- " and so on :) > > > >It would be helpful if you could cut and paste an exact example of > >the sort of From: field you want to kill. The normal sort looks like > >this: name@place(nickname). I don't understand your example at all. > > From: (Kjartan Anthun) > From: kjartan anthun > From: -- kjartan! -- > > But not: > From: Kjartan Anthun That's not an exact example -- I think I see where you're going, but without an exact example there is NO difference between "(Kjartan Anthun)" and "Kjartan Anthun". -- JBM (that's me) thinks that Mark Twain said "The difference between the right word and the almost right word is the difference between lightning and a lightning bug."?
Re: [xnews] - Problems with score-file?
Author: Kjartan Anthun
Date: Wed, 09 Aug 2000 00:00
Date: Wed, 09 Aug 2000 00:00
30 lines
1576 bytes
1576 bytes
Murray Peterson tastet f�lgende:
>
>>From: (Kjartan Anthun)
>>From: kjartan anthun
>>From: -- kjartan! --
>>
>>But not:
>>From: Kjartan Anthun
>
>Are you sure those are real examples? All four of your examples
>aren't legal, and will not be allowed by most servers. For example,
>your posting has
>
>From: kjartat@anthun.net(Kjartan Anthun)
>
>which certainly doesn't match any of your examples above.
That, is actually true.
My bad.
I found another way to get the way I've always wanted it - but
anyway; thanks for forcing me to think instead of just asking
stupid questions :)
--
Kjartan Anthun - kjartan@anthun.net
evil.crudpuppy.net
Re: [xnews] - Problems with score-file?
Author: Murray Peterson
Date: Wed, 09 Aug 2000 00:00
Date: Wed, 09 Aug 2000 00:00
39 lines
2047 bytes
2047 bytes
kjartan@anthun.net (Kjartan Anthun) wrote: >From: (Kjartan Anthun) >From: kjartan anthun >From: -- kjartan! -- > >But not: >From: Kjartan Anthun Are you sure those are real examples? All four of your examples aren't legal, and will not be allowed by most servers. For example, your posting has From: kjartat@anthun.net(Kjartan Anthun) which certainly doesn't match any of your examples above. If the examples you gave really are exactly correct, then killing them is going to be difficult, since you will kill a lot of valid posters as well. The examples you gave indicate that you want to kill all posters without an upper case letter as the first letter in the From: field. That will kill almost all poster, including me, since mine is: "mwp@home.com.invalid (Murray Peterson)". Could you try sending some exact examples (cut and paste them from a message if possible). BTW, here is a filter to kill all posters without an upper case letter as the first one in their From field: Score: -500 From= ^[^A-Z] -- Murray Peterson Email: murray_peterson@home.com (remove underscore) URL: http://www.members.home.net/murraypeterson
Re: [xnews] - Problems with score-file?
Author: Kjartan Anthun
Date: Wed, 09 Aug 2000 00:00
Date: Wed, 09 Aug 2000 00:00
30 lines
1572 bytes
1572 bytes
Murray Peterson tastet f�lgende:
>>
>>I'm not an expert on regular expressions, but I can't
>>understand why this won't work:
>>
>> Score: -500
>> ~From: ^[A-Z].*[a-z]$
>>
>>If I remove the "~" before "From" it scores everybody,
>>but I was hoping to score down users that post with
>>"(my name)", " -- I am so cool -- " and so on :)
>
>It would be helpful if you could cut and paste an exact example of
>the sort of From: field you want to kill. The normal sort looks like
>this: name@place(nickname). I don't understand your example at all.
From: (Kjartan Anthun)
From: kjartan anthun
From: -- kjartan! --
But not:
From: Kjartan Anthun
--
Kjartan Anthun - kjartan@anthun.net
evil.crudpuppy.net
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