🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #110573

Re: Agent: filter for the same letter at end of subject

#110573
From: Paul Batchie
Date: Thu, 03 Oct 2002 10:56
29 lines
1969 bytes
-< Rene Brehmer >- wrote:

> This is regex filter Q for Agent 1.91:
>
> How'd you go about filtering for repeating letters at the end of a 
> subject line?
>
> Like if you got a subject that says:
>   A whole lot of crap                    nnnnhnnnnhnnnn
>
> How do one catch consecutive, but random letters (some spams have p, 
> others r, a.s.o.)?
>
> Like [a-z]+$ would match ANY multiple letters at the end ... would
> [a-z]*$ do the trick? I'm afraid to try it ... just dumped 6700 posts in 
> one group by doing it wrong...

{[a][a][a]|[b][b][b]$} would catch three repeating 'a's or 'b's,
and can be extrapolated. I know of no way to write that, except
in longhand.

Try using Agent's Global Search function to test RegExes before
you actually execute filters.

You'll probably get more answers over in auorfa.

-- 
Paul Batchie
Technical Details
Message-ID: <p28opukjfdk2uouf98t42qq4j2fs4nhop2@4ax.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!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!216.179.70.128!not-for-mail
References: <Xns929BE857B8282metalbunnynet@194.255.237.194>

Show Full Headers
Complete Article Headers
Message-ID: <p28opukjfdk2uouf98t42qq4j2fs4nhop2@4ax.com>
Subject: Re: Agent: filter for the same letter at end of subject
Date: Thu, 03 Oct 2002 06:56:19 -0400
From: "Paul Batchie" <pb_public@operamail.com>
References: <Xns929BE857B8282metalbunnynet@194.255.237.194>
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!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!216.179.70.128!not-for-mail
Newsgroups: news.software.readers
Lines: 28
NNTP-Posting-Host: 216.179.70.128
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1033642578 14866207 216.179.70.128 (16 [131749])
X-Newsreader: NitroMethane (Agent, MorVer, KorrNews)