Thread View: news.software.readers
3 messages
3 total messages
Started by OraSaurus
Tue, 05 Jan 1999 00:00
Regular expressions in News Xpress killfiles?
Author: OraSaurus
Date: Tue, 05 Jan 1999 00:00
Date: Tue, 05 Jan 1999 00:00
10 lines
881 bytes
881 bytes
Can I use regular expressions and/or wildcards in the News Express killfile? For example, *@spamgenerator.com I can't seem to make it work! -Remove "not_" from the address to reply.
Re: Regular expressions in News Xpress killfiles?
Author: Dawn Owens-Nicholson
Date: Tue, 05 Jan 1999 00:00
Date: Tue, 05 Jan 1999 00:00
15 lines
1370 bytes
1370 bytes
OraSaurus wrote: > Can I use regular expressions and/or wildcards in the News Express killfile? > For example, *@spamgenerator.com > I can't seem to make it work! "*@spamgenerator.com" is most likely a malformed regex because the leading asterisk probably means nothing (matching 0 or more repetitions of the previous character which is unstated). You probably meant to say ".*" instead of "*", but that's a time-consuming no-op (in other words, you don't want it at all) because it will most likely force a lot of unnecessary backtracking. Lastly, the period should be escaped--"\."--so it is a literal period and not a single-char metacharacter (it'll most likely work faster if it's literal).
Re: Regular expressions in News Xpress killfiles?
Author: Steve Winograd
Date: Tue, 05 Jan 1999 00:00
Date: Tue, 05 Jan 1999 00:00
21 lines
1238 bytes
1238 bytes
In article <8Ldk2.1832$xq4.782@news.rdc1.ne.home.com>, granaman@home.com (OraSaurus) wrote: >Can I use regular expressions and/or wildcards >in the News Express killfile? > >For example, *@spamgenerator.com > >I can't seem to make it work! Yes. Look under "regular expression" in the NX help file for a description. The syntax is similar, but not identical, to the Unix regular expressions. For example, "." is not a special character. I have not been able to find a way to distinguish between upper case and lower case characters. I think you can use just "spamgenerator.com" for the example you specify. Best Wishes, Steve
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