Article View: news.software.readers
Article #193958Re: I want to filter out replies to trolls.
From: mike
Date: Wed, 27 Dec 2006 20:10
Date: Wed, 27 Dec 2006 20:10
45 lines
2358 bytes
2358 bytes
Peter J Ross <pjr@example.invalid> wrote in news:slrnep5eg4.bjc.pjr@nntp.alcatroll.com: > >> >>>> [<news.group.in.question>] >>>> Score:: -9999 >>>> XRef: alt\.*flonk >>>> XRef: alt\.*snuh >>>> Newsgroups: alt\.*flonk >>>> Newsgroups: alt\.*snuh >>>> >>> >>> >>> Now I'll have to sit down and work out what the regex means. >>> >>> Are flonk and snuh regexs? >> >> <snicker> ;) >> >> Nope, they are literals it says match anything in the newsgroup >> header with alt.<anything here>flonk >> >> so for instance anything posted to alt.religion.flonk would match the >> regex. the snuh and flonk groups are troll havens. > > No, you're matching only > altflonk > alt.flonk > alt..flonk > alt...flonk > etc, because \. matches a literal dot and thus \.* matches only 0 or > more literal dots. > > Try > alt\..*flonk > instead, or just > alt.*flonk > or > flonk > Thanks for all that, peter, not only explained the expression bu t how to modify it for my particular needs! mike
Technical Details
Message-ID:
<Xns98A6CD288D180mikeringbtinternetco@130.133.1.4>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!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<Xns98A1EA34216F6MacCool@130.133.1.4> <slrneopfq9.45h.no.spam@thurston.blinkynet.net> <Xns98A274E263E41mikeringbtinternetco@130.133.1.4> <Xns98A2A022D8780uniquelyme@26-96-177-194.serverdedicati.seflow.net> <Xns98A2EB71CEF46mikeringbtinternetco@130.133.1.4> <Xns98A2DFB10915Buniquelyme@26-96-177-194.serverdedicati.seflow.net> <Xns98A5D45BBE1B5mikeringbtinternetco@130.133.1.4> <Xns98A598D34D260louiscypherhellorg@140.99.99.130> <slrnep5eg4.bjc.pjr@nntp.alcatroll.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns98A6CD288D180mikeringbtinternetco@130.133.1.4> Subject: Re: I want to filter out replies to trolls. Date: Wed, 27 Dec 2006 20:10:05 +0000 From: mike <mikes@ddressis.invalid> References: <Xns98A1EA34216F6MacCool@130.133.1.4> <slrneopfq9.45h.no.spam@thurston.blinkynet.net> <Xns98A274E263E41mikeringbtinternetco@130.133.1.4> <Xns98A2A022D8780uniquelyme@26-96-177-194.serverdedicati.seflow.net> <Xns98A2EB71CEF46mikeringbtinternetco@130.133.1.4> <Xns98A2DFB10915Buniquelyme@26-96-177-194.serverdedicati.seflow.net> <Xns98A5D45BBE1B5mikeringbtinternetco@130.133.1.4> <Xns98A598D34D260louiscypherhellorg@140.99.99.130> <slrnep5eg4.bjc.pjr@nntp.alcatroll.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: Not enough Lines: 45 X-Trace: individual.net rYiiYUpMEsc3n8CaFJRzeAlMa6QqbmJgpmxfk2WbFf7hJOcTx/ User-Agent: Xnews/2006.08.20