Thread View: news.software.nn
2 messages
2 total messages
Started by Glenn McDavid
Sat, 23 Mar 2002 00:46
Re: help me killfile
Author: Glenn McDavid
Date: Sat, 23 Mar 2002 00:46
Date: Sat, 23 Mar 2002 00:46
47 lines
2030 bytes
2030 bytes
On Sat, 23 Mar 2002, The Avocado Avenger wrote:
> I'm having a tough time killfiling someone on a newsgroup with the name
> "R." How would I killfile him without killfiling everyone who has an r in
> their name?
This looks like a task for regular expressions. I will defer to the
experts, but you might try something like
:!n/=:\<R\.\> *$
to killfile him in all groups permanently. Prefix it by the group name
if you want to let him through in other groups.
You may need to tweak the syntax somewhat--I don't have a similar case
to test it on.
General idea:
!n -- kill on name
/ -- match on regular expression
= -- case sensitive
<\ -- word boundary (beginning)
R\. -- R., with the \ as an escape character so the . is not taken as a
wild card.
\> -- word boundary (end)
*$ -- nothing more in the name excepts spaces.
So this should catch
R.
but let
R
R. Jones
through.
Hope this helps. Regular expressions are really for killfiles.
Glenn McDavid
gmcdavid@attbi.com
gmcdavid@winternet.com
http://www.winternet.com/~gmcdavid/
Re: help me killfile
Author: The Avocado Avenger
Date: Wed, 27 Mar 2002 01:28
Date: Wed, 27 Mar 2002 01:28
23 lines
1686 bytes
1686 bytes
Glenn McDavid <gmcdavid@attbi.com> writes: >On Sat, 23 Mar 2002, The Avocado Avenger wrote: >> I'm having a tough time killfiling someone on a newsgroup with the name >> "R." How would I killfile him without killfiling everyone who has an r in >> their name? >This looks like a task for regular expressions. I will defer to the >experts, but you might try something like >:!n/=:\<R\.\> *$ >to killfile him in all groups permanently. Prefix it by the group name >if you want to let him through in other groups. Looks like it's worth a shot. Thanks! Stacia * The Avocado Avenger * Life is a tale told by an idiot; http://www.flinthills.com/~stacia * Full of sound and fury, There is no guacamole anywhere. * Signifying nothing.
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