Article View: news.software.readers
Article #195260Re: [Xnews] Scoring on items in any order
From: NickC
Date: Tue, 06 Feb 2007 07:09
Date: Tue, 06 Feb 2007 07:09
22 lines
1723 bytes
1723 bytes
Tech Zero wrote on 06 Feb 2007: > > You're thinking to advanced for a simple regex... > > Presumablely your tring to filter out when BOTH groups are present > in an xposted article, but not when just one group is crossposted > to. Try using something simple, say like: > > Score: -9999 > Xref: politics.+invest|invest.+politics > Thanks, that works great. You're correct, I was being too complicated. What would you do if you had 3 or 4 groups? You end up with 2^N switches using simple OR pipes. I wonder how you could implement it efficiently in Xnews implementation of PCRE? -- Nick
Technical Details
Message-ID:
<Xns98CFB8B1116CBdrizzeniinetnetau@203.16.214.243>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!128.135.12.170.MISMATCH!news.uchicago.edu!newsfeed.stanford.edu!sn-xt-sjc-03!sn-xt-sjc-09!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<Xns98CF889D22F81drizzeniinetnetau@203.16.214.243> <Xns98CECF1AAC3FCAlphaTwo@draco.dragonfur.ca>Show Full Headers
Complete Article Headers
Message-ID: <Xns98CFB8B1116CBdrizzeniinetnetau@203.16.214.243> Subject: Re: [Xnews] Scoring on items in any order Date: Tue, 06 Feb 2007 07:09:24 -0000 From: NickC <spambucketREMOVE_THIS@internode.on.net> References: <Xns98CF889D22F81drizzeniinetnetau@203.16.214.243> <Xns98CECF1AAC3FCAlphaTwo@draco.dragonfur.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!128.135.12.170.MISMATCH!news.uchicago.edu!newsfeed.stanford.edu!sn-xt-sjc-03!sn-xt-sjc-09!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.readers Organization: Posted via Supernews, http://www.supernews.com User-Agent: Xnews/2006.08.24 X-Complaints-To: abuse@supernews.com Lines: 22