🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192803

Re: Seek PCRE score.ini advice - Xnews

#192803
From: »Q«
Date: Tue, 21 Nov 2006 02:39
23 lines
2164 bytes
Peter J Ross <pjr@kookbusters.org> wrote in
<news:slrnem3sas.94r.pjr@nntp.alcatroll.com>:

> I disagree. If the choice is between
>      reader\.(athena|core)news
> and
>      reader.*
> I'd much prefer the former. The latter is not only likely to produce
> false positives, but may also increase processing time, if my
> understanding of how ".*" is processed (i.e. "greedily") is correct.
>
> And compare
>      From: mike(smith|jones)
> with
>      From: mike.*
> for a really bad example of the kind of thing I'm not keen on.

I agree, and furthermore, for scoring, there is never a reason to put
.* at the end of a regular expression.  The regex foo will match
exactly the same strings as the regex foo.*

-- 
»Q«
Technical Details
Message-ID: <MrQ9881D2259217FitsmeitsQ@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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns987D1DADD368FXByUnn1YvRt1Dp@dont.a.sk> <Xns987DF2A14F611emteedee@85.227.11.7> <slrnels7p0.49g.pjr@nntp.alcatroll.com> <Xns987F96A18AA57emteedee@194.177.96.26> <slrnem3sas.94r.pjr@nntp.alcatroll.com>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ9881D2259217FitsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: Seek PCRE score.ini advice - Xnews
Date: Mon, 20 Nov 2006 20:39:29 -0600
From: »Q« <boxcars@gmx.net>
References: <Xns987D1DADD368FXByUnn1YvRt1Dp@dont.a.sk> <Xns987DF2A14F611emteedee@85.227.11.7> <slrnels7p0.49g.pjr@nntp.alcatroll.com> <Xns987F96A18AA57emteedee@194.177.96.26> <slrnem3sas.94r.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!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 23
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net j7ZfqgHvhprmEA30EEUWwgOl0IYHLgVuIHUexFMRzj+cBnEPuQ
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