🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214362

Re: [slrn] How to filer with wildcard

#214362
From: Peter J Ross
Date: Mon, 31 Dec 2007 12:42
30 lines
1962 bytes
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.

-- 
PJR :-)
Technical Details
Message-ID: <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!news.buerger.net!news.motzarella.org!motzarella.org!not-for-mail
References: <aa089811580035210665aabd37c2b511@remailer.metacolo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfnhou6.lvf.pjr@pjr.gotdns.org>
Subject: Re: [slrn] How to filer with wildcard
Date: Mon, 31 Dec 2007 12:42:46 +0000
From: Peter J Ross <pjr@example.invalid>
References: <aa089811580035210665aabd37c2b511@remailer.metacolo.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!news.buerger.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 30
Reply-To: Peter J Ross <pjr.spam@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX18Flb2tXbDSjuiYs8yU/YjguZFBhpF/MikeAuLCzXHx3D68ilKf2etyhKu+9mLnT0Ox07feNozlI0cg+yY2XaBnj/w9tKnqeWGO6/veCziwWp7crKEKeyIpf7bC2uv6vOs=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 31 Dec 2007 12:50:03 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1+Z8iszK+VZsouhmPt+0K+7
Cancel-Lock: sha1:8LBI1gPe9penP+os4g8Nxpez9uQ=
User-Agent: slrn/pre0.9.9-75 (Linux)