Article View: news.software.readers
Article #219849Re: [gnus] GG Filter
From: I R A Darth Aggie
Date: Tue, 22 Apr 2008 20:06
Date: Tue, 22 Apr 2008 20:06
64 lines
3815 bytes
3815 bytes
On Mon, 21 Apr 2008 13:36:49 -0700, Blinky the Shark <no.spam@box.invalid>, in <pan.2008.04.21.20.36.48.165788@thurston.blinkynet.net> wrote: >+ I R A Darth Aggie wrote: >+ >+ > On Mon, 21 Apr 2008 11:31:36 -0700, >+ > Blinky the Shark <no.spam@box.invalid>, in >+ > <pan.2008.04.21.18.31.34.433748@thurston.blinkynet.net> wrote: >+ > >+ >>+ As submitted, the expression was (and so far I'm using that at the >+ >>UIP): >+ > >+ >>+ <.*\.googlegroups\.com> >+ > >+ >>+ Wouldn't this work? >+ >>+ >+ >>+ .*googlegroups.* >+ > >+ > Yes. But... >+ > >+ >>+ Note: I'm not worried about false positives -- if it's got string + >+ >>googlegroups in the MID, it's a GG post. >+ > >+ > Well, in that case you can probably simplify it further to read: >+ > >+ > <*googlegroups*> >+ >+ Substituting wildmat for whatever flavor of regex the first version >+ represents? The *whooshing* sound you hear is that sentence flying well over my head. I'm probably missing context. gnus would not be my first choice of newsreader, nor my second. It is my understanding that to a well behaved REGEX parser, an unescaped "." will match any given single character. So .*googlegroups.* tells me "match single character, 0-N characters, the literal string googlegroups, single character, 0-N characters". Which is a hair different than *googlegroups* which says "match 0-N characters, the literal string googlegroups, 0-N characters". The first one will *not* match the following: googlegroups while the second will. But while there is a difference between them, it is pretty much moot - almost all MID's will have the form of *stuff*googlegroups*morestuff*. Which one is best to use probably comes down to "which is more efficient?" And unless one is attempting to process tens of thousands of posts in a sitting, it probably doesn't matter. And even then, you might not notice any difference. -- Consulting Minister for Consultants, DNRC I can please only one person per day. Today is not your day. Tomorrow isn't looking good, either. I am BOFH. Resistance is futile. Your network will be assimilated.
Technical Details
Message-ID:
<slrng0sh9f.u1h.n0b0dy@invalid.invalid>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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mailReferences:
<pan.2008.04.21.03.52.58.399962@thurston.blinkynet.net> <vxkmynnqmu9.fsf@mesquite.kleinpaste.org> <pan.2008.04.21.18.31.34.433748@thurston.blinkynet.net> <slrng0psjl.fse.n0b0dy@invalid.invalid> <pan.2008.04.21.20.36.48.165788@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <slrng0sh9f.u1h.n0b0dy@invalid.invalid> Subject: Re: [gnus] GG Filter Date: Tue, 22 Apr 2008 20:06:07 +0000 From: I R A Darth Aggie <n0b0dy@invalid.invalid> References: <pan.2008.04.21.03.52.58.399962@thurston.blinkynet.net> <vxkmynnqmu9.fsf@mesquite.kleinpaste.org> <pan.2008.04.21.18.31.34.433748@thurston.blinkynet.net> <slrng0psjl.fse.n0b0dy@invalid.invalid> <pan.2008.04.21.20.36.48.165788@thurston.blinkynet.net> 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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: Texas A&M University - North Florida Lines: 64 Reply-To: no-courtesy-copies-please Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1+AMqAKJ5WJJyAYXnbjh3gPuDUj+mm9QqSbaKHzhaxTuxY2kiacHHJzXCGfNg1qB7sQHAbTebeGPlMTSjmonKeYQWz4Hs3eI2LqrWAef/K+xkcpnj/cIX0dzbfrEzOYiP+VA2lUheLv0A== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Tue, 22 Apr 2008 20:06:07 +0000 (UTC) X-Auth-Sender: U2FsdGVkX195mC9zEcSLNd09E1kv7Q6biwfPFPkBATeRQTTXIU0H7g== Cancel-Lock: sha1:njCjTDwIfu0TwgzhYQ95vtvR7cE= User-Agent: slrn/pre0.9.9-99 (Debian) X-WebTV-Stationery: Standard; BGColor=black; TextColor=black