🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Anonymous Sender Fri, 28 Dec 2007 22:55
[slrn] How to filer with wildcard
#213870
Author: Anonymous Sender
Date: Fri, 28 Dec 2007 22:55
16 lines
1090 bytes
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?
Re: [slrn] How to filer with wildcard
#213881
Author: Ted S.
Date: Sat, 29 Dec 2007 02:28
33 lines
2420 bytes
On Fri, 28 Dec 2007 22:55:40 +0000 (UTC), Anonymous Sender 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?

That will only score -9999 if there's *exactly* *one* digit on either
side of the @ symbol.  In PCRE, I think (note that I haven't tested it)
that killing on any arbitrary number of digits could be achieved by

judy\.\d*@\d*\.com

Note that this will kill things with 0 digits as well; the + is used for
one or more digits.

And since you're using slrn instead of PCRE scoring, you might have to
escape things differently.  I'll let the slrnoids tell you exactly how
to escape things since I don't use it.

-- 
Ted S.
fedya at bestweb dot net
Re: [slrn] How to filer with wildcard
#214337
Author: Mike Dee
Date: Mon, 31 Dec 2007 01:55
21 lines
2314 bytes
Anonymous Sender <anonymous@remailer.metacolo.com> wrote:

> 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

This *might* work:

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

-------------
Should get both judy and ju.dy

-- 
dee
Re: [slrn] How to filer with wildcard
#214362
Author: 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 :-)
Re: [slrn] How to filer with wildcard
#214369
Author: Mike Dee
Date: Mon, 31 Dec 2007 14:34
30 lines
2513 bytes
Mike Dee <emteedee@invalid.invalid> wrote:

> Anonymous Sender <anonymous@remailer.metacolo.com> wrote:
> 
>> 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
> 
> This *might* work:
> 
> Score:: =-9999
>      From: ju.?dy[0-9]{4}@[0-9]{3}\.com
> 
> -------------
> Should get both judy and ju.dy

Ah, I hadn't noticed the extra "." thx PJR

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

Will get 'em both.

-- 
dee
Re: [slrn] How to filer with wildcard
#214372
Author: 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>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads