Article View: news.software.readers
Article #219851Re: [gnus] GG Filter
From: Blinky the Shark
Date: Tue, 22 Apr 2008 20:38
Date: Tue, 22 Apr 2008 20:38
74 lines
4166 bytes
4166 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. Nor would I, although I *have* just to get a feel. > 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 I don't know which flavor of regex gnus uses. My intent with that syntax was .* (match any number of any characters) match char sequence googlegroups .* (match any number of any characters) > *googlegroups* That looked like wildmat syntax to me, for the lack of . (any character) for the * wildcards to work with. I do not know if that works with gnus' regex flavor. > 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. -- 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.38.05.12013@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!news.albasani.net!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.38.05.12013@thurston.blinkynet.net> Subject: Re: [gnus] GG Filter Date: Tue, 22 Apr 2008 13:38:08 -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!t-online.de!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net http://improve-usenet.org Lines: 74 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net C5FeUG9GqHbp9H6GpBwodgr2Kbws/wQEmuO8eH0RUxqloxallU Cancel-Lock: sha1:SxmGn/TK+PAFP/DGyUf2DvprUhM= 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