🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242930

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

#242930
From: Gene E. Bloch
Date: Mon, 04 Oct 2010 22:40
42 lines
3367 bytes
On Sat, 02 Oct 2010 10:57:30 -0400, Mike Yetto wrote:

> Gene E. Bloch <not-me@other.invalid> writes and having writ moves on.
>>On Fri, 01 Oct 2010 08:05:06 -0400, Mike Yetto wrote:
>>> 
>>> How about starting with this...
>>> 
>>> Subject:= ([A-Z][~A-Z]*){n}
>>> 
>>> The intent is to look for a UC character optionally followed by
>>> other characters n times.  The 'n' can be changed from an exact
>>> number to a minimum with a comma.  
>>> 
> 
>>Thanks for that, Mike. I was (justifiably, I say!) lazy about RTFM,
>>since I'm not running xnews, but I though  my idea might be a good
>>starting point for the OP.
> 
> This was simpler than I thought it would be (*if* it works) and I
> really have to stop outwitting myself.
> 
>>If the OP is gone, so be it, but your detailed answer should help others
>>who *are* using xnews. And maybe the same idea will work for other
>>newsreaders as well, mutatis mutandis.
> 
> This should work (or come close) with slrn as well and the
> details were supplied so tweaking would be easier.  However, I
> still think that just looking for a lower-case character would
> eliminate a good number of spam posts.
> 
> Mike "regex: a parser for all seasons" Yetto

With the reply from the OP to your post, there are two things I can say:

1. He made it clear that the one-LC-letter test will not work in his
case.

2. I am glad to withdraw my guess about a drive-by post. I apologize,
BookWight, for being so hasty.

-- 
Gene E. Bloch (Stumbling Bloch)
Technical Details
Message-ID: <1x5d7uaj2ttsr.12bknf4lmmjey.dlg@40tude.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!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>

Show Full Headers
Complete Article Headers
Message-ID: <1x5d7uaj2ttsr.12bknf4lmmjey.dlg@40tude.net>
Subject: Re: [Xnews] Looking for regex help - 20 CAPITAL letters in subject header?
Date: Mon, 4 Oct 2010 15:40:55 -0700
From: "Gene E. Bloch" <not-me@other.invalid>
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>
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!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail
Newsgroups: news.software.readers
Organization: Astrolabe
Lines: 42
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net
 vtILRtpQYfd4+sI2nW6ecN5b7gIYB3Se+4+Zew6qzsyUdWCxdWNOY/0uyqC/x8mKi2debdlDscQxszZgDtPOZw==
NNTP-Posting-Date: Mon, 4 Oct 2010 22:40:56 +0000 (UTC)
Cancel-Lock: sha1:5YW0oFBxD94lY6MuLJZaJmGTRLQ=
User-Agent: 40tude_Dialog/2.0.15.84
Injection-Info: news.albasani.net;
 logging-data="3mNWmLr1wofsPUfYBvdjmQWPxjiZSQm1G509+43qfNNGaVE5fQF8UkJu8Fah7X4usJBL2bfA1+GDy5IbpzciXtMOUh104Ea0bT7P3GxxNA9XJOYOP6w9QedNAKejPBzD";
 mail-complaints-to="abuse@albasani.net"
X-Original-Bytes: 3175