🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219244

Re: Regex to detect long subject lines

#219244
From: Bert Hyman
Date: Mon, 14 Apr 2008 20:35
17 lines
1597 bytes
apostle@REMOVETHISpeculiar.homeip.net (Ed) wrote in
news:Xns9A808EE42A7682362352@127.0.0.1: 

> I'd like to be able to trap any message with a subject line more
> than 60 characters long

Never used them myself, but if your RE scanner supports "bounds", you
could do it. 

Something on the order of ".{61,}" would match 61 or more occurrences
of any character (or maybe 62; I don't know if the first character
counts). 

Probably not exactly what you want, but maybe close.

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Technical Details
Message-ID: <Xns9A809EA87CAFVeebleFetzer@127.0.0.1>
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!nx01.iad01.newshosting.com!newshosting.com!news-out.octanews.net!indigo.octanews.net!auth.news-2.mpls.iphouse.com.POSTED!not-for-mail
References: <Xns9A808EE42A7682362352@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9A809EA87CAFVeebleFetzer@127.0.0.1>
Subject: Re: Regex to detect long subject lines
Date: Mon, 14 Apr 2008 20:35:48 +0000
From: Bert Hyman <bert@iphouse.com>
References: <Xns9A808EE42A7682362352@127.0.0.1>
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!nx01.iad01.newshosting.com!newshosting.com!news-out.octanews.net!indigo.octanews.net!auth.news-2.mpls.iphouse.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Not so you'd notice
User-Agent: Xnews/2006.08.24
Lines: 17
NNTP-Posting-Date: 14 Apr 2008 15:35:48 CDT
NNTP-Posting-Host: de6bbfcf.auth.newsreader.iphouse.com
X-Trace: DXC=B1m@; mok=b; BcLYBFQELE;
 _6RIS\>jRc3FbE0<hKBJT?ZWaV[Yfb[72D1kiRiW\QF4ZgRhQGSTe:>h6Q1TR0cFn6Sm]9NbUV4Q7<[;
 I:E_fgL9
X-Complaints-To: abuse@iphouse.net