🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #149067

Re: [Xnews] Eliminating crossposting in one newsgroup

#149067
From: »Q«
Date: Sun, 30 May 2004 15:22
32 lines
2279 bytes
Tech Zero <spamnet-june@dragonfur.ca> wrote in
<news:Xns94F92E19BC72EZeroOne@raven.dragonfur.ca>:

>> [alt.stupid.morons]
>> Score:: -9999
>> Xref: (.*:){1}
>> Xref: alt\.stupid\.morons\.from\.canada
>
>
> Nah... You can do it in a single entry:
>
>   [alt.stupid.morons]
>   Score: -9999
>      Xref: (.*:)+|canada
>
> Although in this case "Canada" is redundant...  };8)

I think you'll find that /everything/ is redundant once you've killed
on a single colon in the Xref header.

Score:: -9999
  Xref: (.*?:){2}

Marc, the .*?: matches any number of any characters followed by a
colon.  The {2} makes the rule match only if there are at least two
occurrences.  So the article should be killed if there are at least
two colons in the Xref: field, which means the article has been
posted to at least two groups.  Much info on how regular expressions
work can be found in pcre.html, in your Xnews directory.

-- 
»Q«
Technical Details
Message-ID: <MrQ94F9699294887itsmeitsQ@QsFQDN.dyndns.org>
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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!proxad.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <Xns94F8F06D2D7C6mastercougarhotmailc@207.35.177.134> <Xns94F8EB336B7A6duckrulestheuniverse@140.99.99.130> <Xns94F92E19BC72EZeroOne@raven.dragonfur.ca>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ94F9699294887itsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: [Xnews] Eliminating crossposting in one newsgroup
Date: Sun, 30 May 2004 15:22:42 GMT
From: »Q« <boxcars@gmx.net>
References: <Xns94F8F06D2D7C6mastercougarhotmailc@207.35.177.134> <Xns94F8EB336B7A6duckrulestheuniverse@140.99.99.130> <Xns94F92E19BC72EZeroOne@raven.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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!proxad.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 32
X-Trace: news.uni-berlin.de oQlfXX82JDtePHv9S/9ySQmkU/Mv7Jzp7Io4moycupl+q+Wwo/
X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm>
X-Face: *#`F(_&o, GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,
 i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,
 Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C