Article View: news.software.readers
Article #219853Re: [gnus] GG Filter
From: Blinky the Shark
Date: Tue, 22 Apr 2008 20:40
Date: Tue, 22 Apr 2008 20:40
68 lines
3885 bytes
3885 bytes
I R A Darth Aggie wrote: > 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*. Are you referring to the second and third examples, there? <.*\.googlegroups\.com> <---- this one being the first? > 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. -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org Blinky: http://blinkynet.net
Technical Details
Message-ID:
<pan.2008.04.22.20.40.15.631349@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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!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> <slrng0sh9f.u1h.n0b0dy@invalid.invalid>Show Full Headers
Complete Article Headers
Message-ID: <pan.2008.04.22.20.40.15.631349@thurston.blinkynet.net> Subject: Re: [gnus] GG Filter Date: Tue, 22 Apr 2008 13:40:16 -0700 From: Blinky the Shark <no.spam@box.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> <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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net http://improve-usenet.org Lines: 68 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net Bl84R+UnVTP9ekjx07z+DgMHok6IZNUv/IworqDbhB1hkH2oMF Cancel-Lock: sha1:lZcCnfkOYtL0QO1hfTVsIO3PW68= User-Agent: Pan/0.14.2.91 X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva Linux 2006.0; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=green; TextColor=green X-The-Usenet-Improvement-Project: http://improve-usenet.org