🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #120488

[Xnews] Regular expression scoring help?

#120488
From: Randolph Carter
Date: Fri, 21 Feb 2003 06:17
24 lines
1528 bytes
Hello,

Hoping to get some help from the regular expression experts.

Getting frustrated trying to write a filter in regex which basically 
says:

if subject is X characters long, and does NOT contain a space, kill it.

This is in an attempt to kill the random newsgroups attacks where some 
jackass posts hundreds or thousands with subjects like:

Subject: #]1eq/e7f8T6B`s4>$mz/H5T_8IpHnT\9K2bCk1CD8ES(3k2.?bhl!m+T=hV

Any help is gladly accepted.

Also, if anyone has handy and effective general spam filters, feel free 
to post those also.

Your time and expertise is appreciated!

Regards,
Randolph Carter
Technical Details
Message-ID: <Xns9328ED0A14845sethralavode@68.1.17.6>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!news-xfer.cox.net!p01!news2.east.cox.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns9328ED0A14845sethralavode@68.1.17.6>
Subject: [Xnews] Regular expression scoring help?
Date: Fri, 21 Feb 2003 06:17:46 GMT
From: Randolph Carter <azoblue@myrealboxDOT.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!news-xfer.cox.net!p01!news2.east.cox.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/5.04.25
Lines: 23
NNTP-Posting-Host: 68.0.133.17
X-Complaints-To: abuse@cox.net
X-Trace: news2.east.cox.net 1045808266 68.0.133.17 (Fri, 21 Feb 2003 01:17:46 EST)
NNTP-Posting-Date: Fri, 21 Feb 2003 01:17:46 EST
Organization: Cox Communications