Thread View: news.software.readers
3 messages
3 total messages
Started by Frank Mogaddedi
Tue, 04 Feb 1997 00:00
knews killfile help needed
Author: Frank Mogaddedi
Date: Tue, 04 Feb 1997 00:00
Date: Tue, 04 Feb 1997 00:00
32 lines
1727 bytes
1727 bytes
Hi,
I just switched to knews 0.9.8 (on Linux) and tried to construct my
killrules. It all went somewhat OK, but...
I want to kill all posts where the subject is mainly in caps (you know
why). I thought that one good rule would be to say: 3 or more caps,
a blank, 3 or more caps, a blank, 3 or more caps.
So I tried:
[:upper:]{3,} [:upper:]{3,} [:upper:]{3,}
but to no avail.
According to the manpages knews kill-regexps are case-insensitive
but I hoped for [:upper:] to work. And it says that the regexps
would behave just like egrep's. I even tried escaping the { and/or }.
What do I not understand? Where have I gone without enough sleep?
It doesn't even kill 'everything', which it should do if [:upper:]
were all of a sudden regarded case-insensitive.
Help! I can't stop spam, but I at least want to not see it.
TIA
Frank
--
+---------------------------------------------------------------------+
| Disclaimer: I represent | Don't dream your life, |
| only myself. If that much! | live your dreams! |
+----------------- http://www.NetUnlimited.net/~frank/ ---------------+
Re: knews killfile help needed
Author: Bernhard Reiter
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
27 lines
1615 bytes
1615 bytes
In article <5d8ht8$bss@news.netunlimited.net>,
frank@NetUnlimited.net (Frank Mogaddedi) writes:
> I want to kill all posts where the subject is mainly in caps (you know
> why). I thought that one good rule would be to say: 3 or more caps,
> a blank, 3 or more caps, a blank, 3 or more caps.
> So I tried:
> [:upper:]{3,} [:upper:]{3,} [:upper:]{3,}
> but to no avail.
Are you sure knews is linked with the right regex package?
> According to the manpages knews kill-regexps are case-insensitive
> but I hoped for [:upper:] to work. And it says that the regexps
> would behave just like egrep's. I even tried escaping the { and/or }.
>
> What do I not understand? Where have I gone without enough sleep?
I do not know. You might want to check the manpage for
regex(5) for the package knews is compiled for. And maybe test your
expression with an stadn alone program for matching expressiong with
the same library. "regex"?
Bernhard
Re: knews killfile help needed
Author: Conrad Sabatier
Date: Sat, 08 Feb 1997 00:00
Date: Sat, 08 Feb 1997 00:00
45 lines
2073 bytes
2073 bytes
In article <5d8ht8$bss@news.netunlimited.net>,
frank@NetUnlimited.net (Frank Mogaddedi) writes:
> Hi,
> I just switched to knews 0.9.8 (on Linux) and tried to construct my
> killrules. It all went somewhat OK, but...
> I want to kill all posts where the subject is mainly in caps (you know
> why). I thought that one good rule would be to say: 3 or more caps,
> a blank, 3 or more caps, a blank, 3 or more caps.
> So I tried:
> [:upper:]{3,} [:upper:]{3,} [:upper:]{3,}
> but to no avail.
>
> According to the manpages knews kill-regexps are case-insensitive
> but I hoped for [:upper:] to work. And it says that the regexps
> would behave just like egrep's. I even tried escaping the { and/or }.
>
> What do I not understand? Where have I gone without enough sleep?
>
> It doesn't even kill 'everything', which it should do if [:upper:]
> were all of a sudden regarded case-insensitive.
>
> Help! I can't stop spam, but I at least want to not see it.
Command line options:
+/-icase
Will set the resource 'Knews.icaseRegexps' to
True/False.
Resources:
Knews.icaseRegexps
Setting this to False will make regular expressions
case sensitive. They are case insensitive by
default.
Unfortunately, it's an "either/or" situation.
--
Conrad Sabatier http://www.neosoft.com/~conrads
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