🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214372

Re: [slrn] How to filer with wildcard

#214372
From: Allodoxaphobia
Date: Mon, 31 Dec 2007 18:43
43 lines
2177 bytes
On Mon, 31 Dec 2007 12:42:46 +0000, Peter J Ross wrote:
> In news.software.readers on Fri, 28 Dec 2007 22:55:40 +0000 (UTC),
> Anonymous Sender <anonymous@remailer.metacolo.com> wrote:
>
>> Hi 
>>
>> How to filter these addresses?
>> judy.1271@163.com, ju.dy4865@623.com
>>
>> I tried: 
>>
>> Score::  =-9999
>> 	From: ju\.dy[1-9]@[1-9]\.com
>> 	From: judy\.[1-9]@[1-9]\.com
>>
>> but this doesn't seem to work.
>>
>> What am I doing wrong?
>
> Easy way: Change each "[0-9]" to "[0-9]+". This will count one or more
> digits.
>
> More accurate way:
>
>  	From: ju\.dy[0-9]\{4\}@[0-9]\{3\}\.com
>  	From: judy\.[0-9]\{4\}@[0-9]\{3\}\.com
>
> This will count the exact number of digits.

Nobody ever gets the Last Word in something like this.  :-)
Just 1 score:

  	From: ju\.?dy\.?[0-9]\{4\}@[0-9]\{3\}\.com

Which, yes, will catch judy0000@666.com  and ju.dy.9999@666.com  --  
which is a wee bit outside the OP's parameters.  But, probably no harm.
(And, it's a real domain, BTW.)

Jonesy
-- 
  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    *** Killfiling google posts: <http://jonz.net/ng.htm>
Technical Details
Message-ID: <slrnfnie3a.l9v.bit-bucket@shell.config.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <aa089811580035210665aabd37c2b511@remailer.metacolo.com> <slrnfnhou6.lvf.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfnie3a.l9v.bit-bucket@shell.config.com>
Subject: Re: [slrn] How to filer with wildcard
Date: Mon, 31 Dec 2007 18:43:54 +0000
From: Allodoxaphobia <bit-bucket@config.com>
References: <aa089811580035210665aabd37c2b511@remailer.metacolo.com> <slrnfnhou6.lvf.pjr@pjr.gotdns.org>
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!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 43
Reply-To: If you must, <Reply_to@my.sig.adr>
X-Trace: individual.net gpofDFGIIJMajfOobGBdkQtQVazG4p7UeFGiIyLdVRh6KQqj+j
Cancel-Lock: sha1:jyvyXKgNstBUrLvNRrZ+x0k05ws=
User-Agent: slrn/0.9.8.1 (FreeBSD)