🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219493

Re: Regex to detect long subject lines

#219493
From: »Q«
Date: Fri, 18 Apr 2008 04:25
20 lines
1758 bytes
Ed <apostle@REMOVETHISpeculiar.homeip.net> wrote:

> and the same thing according to hamster's helpfile:
> 
> [news.group]
> -9999 Subject: ".{60,}"
> 
> Yet messages with subject lines longer than 60characters are not
> getting hit with it. 

Is that really a quote from Hamster's helpfile?

IIRC (AITID) Hamster's scorefile syntax requires { curly braces }
around regular expressions, if you just use quotes the expressions are
treated as globs.  Try 

-9999 Subject: {.{60}}

The comma shouldn't be needed, since a Subject with >= 60 characters
contains a substring with exactly 60.
Technical Details
Message-ID: <20080417232503.42a8d144@bellgrove.remarqs.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns9A808EE42A7682362352@127.0.0.1> <Xns9A816D4A1C13Bemteedee@193.201.53.67> <Xns9A82F11EBAE112362352@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <20080417232503.42a8d144@bellgrove.remarqs.net>
Subject: Re: Regex to detect long subject lines
Date: Thu, 17 Apr 2008 23:25:03 -0500
From: »Q« <boxcars@gmx.net>
References: <Xns9A808EE42A7682362352@127.0.0.1> <Xns9A816D4A1C13Bemteedee@193.201.53.67> <Xns9A82F11EBAE112362352@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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 20
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 9xWvXqGTCEqP049DKYobUQSKRQ21Xny5yQO6iearWXxrtEHCf2
X-Orig-Path: bellgrove.remarqs!not-for-mail
Cancel-Lock: sha1:+X4MgYQT6VJtwWeiI7Si2Q66oh0=
X-Newsreader: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-pc-linux-gnu)