Article View: news.software.readers
Article #65084Re: Xnews:score file doesn't work?
From: Murray Peterson
Date: Wed, 30 Aug 2000 03:05
Date: Wed, 30 Aug 2000 03:05
29 lines
2318 bytes
2318 bytes
ppu5wt6brz@mailexpire.com (Random Tox) wrote: >>If it's really being processed as a regular expression (and the >>documention sure leads me to believe that it is), your change >>would make it more efficient than the original, but the original >>will still work. > >[rec.autos.sport.f1] will not work, [^rec\.autos\.sport\.f1$] >will. Read scoring.txt in the X-News folder for details on the >syntax used in the scorefile. Bert Hyman is actually correct. The "^" is only required if the expression MUST start at the beginning of the group name, and since a "." matches any character, you don't need to escape them. The "$" is only required if you the expression MUST match the end of the line. Leaving out the "^" and "$" doesn't invalidate the match, it just relaxes the requirements. In other words, [rec.autos.sport.f1] will match any group name that contains that string, plus a few others. However, on my server that only matches 2 groups: rec.autos.sport.f1 and rec.autos.sport.f1.moderated. To limit the filter to just the named group, all you really need on my server is "[sport.f1$]" -- Murray Peterson Email: murray_peterson@home.com (remove underscore) URL: http://www.members.home.net/murraypeterson
Technical Details
Message-ID:
<8F9FD3F0Dfarkle@24.64.2.57>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!supernews.google.com!sn-xit-02!sn-east!supernews.com!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mailReferences:
<8FA0FD0Csentinel77hotpopcom@194.157.175.4> <8FA0F4E5replygroupINVALID92a@127.0.0.1> <8F9FC100BVeebleFetzer@209.98.98.12> <8FA01EC37replygroupINVALID92a@127.0.0.1>Show Full Headers
Complete Article Headers
Message-ID: <8F9FD3F0Dfarkle@24.64.2.57> Subject: Re: Xnews:score file doesn't work? Date: Wed, 30 Aug 2000 03:05:40 GMT From: mwp@home.com.invalid (Murray Peterson) References: <8FA0FD0Csentinel77hotpopcom@194.157.175.4> <8FA0F4E5replygroupINVALID92a@127.0.0.1> <8F9FC100BVeebleFetzer@209.98.98.12> <8FA01EC37replygroupINVALID92a@127.0.0.1> 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!supernews.google.com!sn-xit-02!sn-east!supernews.com!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/03.08.16 Lines: 28 NNTP-Posting-Host: 24.64.52.234 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ab.home.com 967604740 24.64.52.234 (Tue, 29 Aug 2000 20:05:40 PDT) NNTP-Posting-Date: Tue, 29 Aug 2000 20:05:40 PDT Organization: Excite@Home - The Leader in Broadband