🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219242

Regex to detect long subject lines

#219242
From: Ed
Date: Mon, 14 Apr 2008 19:02
11 lines
1652 bytes
I've been trying to come up with a regex that will trap overly long subject 
lines but honestly I'm terrible at regular expression syntax


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

thx

-- 
http://blog.peculiarplace.com
Technical Details
Message-ID: <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!local02.nntp.dca.giganews.com!nntp.centurytel.net!news.centurytel.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns9A808EE42A7682362352@127.0.0.1>
Subject: Regex to detect long subject lines
Date: Mon, 14 Apr 2008 14:02:48 -0500
From: Ed <apostle@REMOVETHISpeculiar.homeip.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.centurytel.net!news.centurytel.net.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 14 Apr 2008 15:26:50 -0500
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24 Hamster/2.0.7.0
X-PGP-Key: 0x84D46604
X-PGP-Key-fingerprint: DA03 1EA4 7F5D DF74 B89F E871 757E 627C 84D4 6604
Lines: 11
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 72.161.77.245
X-Trace: sv3-wDIOseUPT2DFxndJyom3vdGjL3M1HJZw5wZptumhEY2lvTSmAcz8/dVceZc0W7MFGdfvjY8VBcjEu6F!iQlLUoRmz7/SaUzIZCh1fzfuki/vDspfNFSHuoYnMQXhnn9ZKtwl4tliGS+4oELKnr1zKFOMU2U9!B80sgo3vJ+VP0uyyoEckE6YaFw==
X-Complaints-To: abuse@centurytel.net
X-DMCA-Complaints-To: abuse@centurytel.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39