🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264644

Re: Xnews custom filters

#264644
From: Mike Dee
Date: Tue, 26 Jan 2021 06:34
29 lines
1826 bytes
MajorLanGod wrote:

>>  From: ^[0-9][0-9][0-9]name
>> 
>> In the fine Xnews manual, read the chapters 16 and 17. Especially
>> chapters 17 for more Regex info which will come in handy when
>> editing the score file by hand.
>> 
> 
> The problem is that there isn't a single author's name. There are
> many names, the only common thing is that the first three
> characters are numeric, with is what I based my regex on.

Well, if the numbers remain the same then all you need are the 3 
numbers

From: ^123

Replace 123 with the actual #'s. The ^ at the beginning, informs Xnews 
the from name begins with those numbers. The name changes are of no 
importance if the name always begins with those numbers. Xnews will 
kill them on those numbers alone.

If the 3 numbers also change, ignore the name and use:

From: ^[0-9][0-9][0-9]

-- 
dee
Technical Details
Message-ID: <XnsACBEB2D4060FCmikedee@emteedee.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238> <XnsACBE5D5CE5F9Dmikedee@emteedee.invalid> <XnsACBDBFC41DAE1lonelydad58.gmail.co@81.171.92.224>

Show Full Headers
Complete Article Headers
Message-ID: <XnsACBEB2D4060FCmikedee@emteedee.invalid>
Subject: Re: Xnews custom filters
Date: Tue, 26 Jan 2021 06:34:54 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238> <XnsACBE5D5CE5F9Dmikedee@emteedee.invalid> <XnsACBDBFC41DAE1lonelydad58.gmail.co@81.171.92.224>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Organization: Poor Boy
User-Agent: Xnews/2009.05.01
Newsgroups: news.software.readers
Lines: 29
Cancel-Lock: sha1:bnoysKOYJ5byTyhzNh6BbVUhmCE=
Injection-Date: Tue, 26 Jan 2021 06:34:54 -0000 (UTC)
X-Received-Bytes: 1992
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J;N5/yst7]cQb.o^L$oAhs-J!C AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N