🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242942

Re: [Xnews] Looking for regex help - 20 CAPITAL letters in subject header?

#242942
From: John Wunderlich
Date: Wed, 06 Oct 2010 23:32
56 lines
3327 bytes
BookWight <Bookwight@publicspam.com> wrote in
news:Xns9E09787B021D7bookwight@207.246.207.169: 

> Wandering along the edges of news.software.readers, I found the
> following bit of electronic flotsam written by Mike Yetto
> <myetto1@nycap.invalid> in
> news:slrn20101006130015.371.twooffive@may.eternal-september.org: 
> 
>> BookWight <Bookwight@publicspam.com> writes and having writ moves
>> on. 
>>> Wandering along the edges of news.software.readers, I found the
>>> following bit of electronic flotsam written by Mike Yetto
>>> <myetto1@nycap.invalid> in
>>> news:slrn20101002104951.499.twooffive@may.eternal-september.org:
>> 
>>> as before, all helpful comments welcome.
>> 
>> I gave this some more thought and decided that the example I gave
>> would catch everyone of your examples had I used the correct
>> syntax. 
>> 
>> 
>> This will catch any subject with 20 or more uppercase characters.
>> 
>> #v+
>> [*]
>> Score: =-9999
>> Subject:= ([A-Z][^A-Z]*){20} #v-
>> 
>> Mike "tweak to taste" Yetto
> 
> mike -
> 
> I tried editing the score file with your offered expression, but
> got the 2 following errors:
> 
> 1.  Perle: Nothing to repeat
> 
> 2.  Invalid group expression "]" at line 6
> 
> 
> I counted the number of left & right (parantheses, brackets, curly
> brackets) rather carefully . . .
> 
> I (rather cautiously) invite comments

Hmmm...
If I leave out the "#v+" and "#v-" in the above and fixing the error 
where it should be "Subject=" instead of "Subject:="

...It works just great for me.
Tested in alt.test.

-- John

Technical Details
Message-ID: <Xns9E09A845967E7wunderpsdrscray@138.125.254.103>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!bos-service2b.ext.ray.com.POSTED!53ab2750!not-for-mail
References: <Xns9E0350120FCD5bookwight@207.246.207.159> <Xns9E03730466944VeebleFetzer@216.250.188.141> <slrn20100930130743.632.twooffive@may.eternal-september.org> <hzp2g19rrxa3$.1qs9z2e0o64o9.dlg@40tude.net> <slrn20100930182657.380.twooffive@may.eternal-september.org> <eby8yvz4ebfg$.12vrytnc6gfn6$.dlg@40tude.net> <slrn20101001075806.483.twooffive@may.eternal-september.org> <l8kj04nq5y89.p0vk321749dn$.dlg@40tude.net> <slrn20101002104951.499.twooffive@may.eternal-september.org> <Xns9E07862949254bookwight@207.246.207.168> <slrn20101006130015.371.twooffive@may.eternal-september.org> <Xns9E09787B021D7bookwight@207.246.207.169>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9E09A845967E7wunderpsdrscray@138.125.254.103>
Subject: Re: [Xnews] Looking for regex help - 20 CAPITAL letters in subject header?
Date: Wed, 06 Oct 2010 23:32:30 GMT
From: John Wunderlich <jwunderlich@lycos.com>
References: <Xns9E0350120FCD5bookwight@207.246.207.159> <Xns9E03730466944VeebleFetzer@216.250.188.141> <slrn20100930130743.632.twooffive@may.eternal-september.org> <hzp2g19rrxa3$.1qs9z2e0o64o9.dlg@40tude.net> <slrn20100930182657.380.twooffive@may.eternal-september.org> <eby8yvz4ebfg$.12vrytnc6gfn6$.dlg@40tude.net> <slrn20101001075806.483.twooffive@may.eternal-september.org> <l8kj04nq5y89.p0vk321749dn$.dlg@40tude.net> <slrn20101002104951.499.twooffive@may.eternal-september.org> <Xns9E07862949254bookwight@207.246.207.168> <slrn20101006130015.371.twooffive@may.eternal-september.org> <Xns9E09787B021D7bookwight@207.246.207.169>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!bos-service2b.ext.ray.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24
Lines: 56
NNTP-Posting-Host: 147.19.113.200
X-Complaints-To: news@ext.ray.com
X-Trace: bos-service2b.ext.ray.com 1286407950 147.19.113.200 (Wed,
NNTP-Posting-Date: Wed, 06 Oct 2010 23:32:30 UTC
Organization: Raytheon Company