🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #249279

Re: [Xnews] score file question

#249279
From: Mike Dee
Date: Fri, 16 Mar 2012 11:11
26 lines
2438 bytes
John Wunderlich wrote:

> You're right.  In Xnews, the two expressions are functionally
> exactly equivalent.  Being that Xnews will search for the given
> expression anywhere within the [Subject], your expression of
> "[a-z]" will match any subject containing a lower case letter. 
> The expression ".*[a- z]" will match any [Subject] containing a
> lower case letter preceeded by zero or more characters -- which is
> exactly the same.

Thanks John. I think Luu Tran may have "lifted" this one directly from 
the slrn PCRE example pages without a second thought. I was just 
curious as to why the need for the ".*" here, it seems to be 
superfluous.

> Of course the ~ in front of "Subject" negates
> the result and the "=" makes the expression case sensitive.

That much I knew - and use ;-)

To take a leaf out of Mike Yetto's book (to rip him off IOW):

Mike "Its all slrn's fault" Dee

-- 
dee
Technical Details
Message-ID: <XnsA0191FF1EAE2mikedee@emteedee.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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
References: <XnsA01888C1FC5Amikedee@emteedee.invalid> <XnsA017E134562C9wunderpsdrscray@216.151.153.39>

Show Full Headers
Complete Article Headers
Message-ID: <XnsA0191FF1EAE2mikedee@emteedee.invalid>
Subject: Re: [Xnews] score file question
Date: Fri, 16 Mar 2012 11:11:40 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <XnsA01888C1FC5Amikedee@emteedee.invalid> <XnsA017E134562C9wunderpsdrscray@216.151.153.39>
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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 26
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 16 Mar 2012 11:11:40 +0000 (UTC)
Injection-Info: mx04.eternal-september.org;
 posting-host="0unxBQcXNunh5zvM39rzxQ";
 logging-data="17410"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1+jf+fYCf2LLhVO5jkTAseZ"
User-Agent: Xnews/2009.05.01
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
Cancel-Lock: sha1:zNKKTEuiluyRmH3z6zSUY3zun9k=
X-Original-Bytes: 2229