Article View: news.software.readers
Article #45680Re: Regular expressions in News Xpress killfiles?
From: 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).
Technical Details
Message-ID:
<slrn792ul2.m44.bluemoon@ux6.cso.uiuc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<8Ldk2.1832$xq4.782@news.rdc1.ne.home.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn792ul2.m44.bluemoon@ux6.cso.uiuc.edu> Subject: Re: Regular expressions in News Xpress killfiles? Date: Tue, 05 Jan 1999 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <8Ldk2.1832$xq4.782@news.rdc1.ne.home.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 428865127 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.4 (UNIX) Newsgroups: news.software.readers