🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216429

Re: [Leafnode] Filter for cigs?

#216429
From: Troy Piggins
Date: Tue, 05 Feb 2008 00:31
31 lines
2458 bytes
* andrew is quoted & my replies are inline below :
> On 2008-02-04, andrew <andrew@ilium.invalid> wrote:
>> I am setting up a Leafnode-2 filter for the subject cigarettes as
>> follows:
>>
>> newsgroups = .*
>> pattern = ^Subject:.*[Cc]igarettes
>> action = kill
>
> Or the slightly improved version:
>
> newsgroups = .*
> pattern = ^Subject:.*[Cc][Ii][Gg][Aa][Rr][Ee][Tt].*
> action = kill
>
> which seems to catch upper and lower case 'cigaret' plus cigarett,
> cigarette, cigarettes etc.

But it also matches:

     Subject: [slrn] how do I killfile "cigarettes" posts?

;)

See my other followup for caseless matching using (?i)

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-82                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Technical Details
Message-ID: <20080205102935@usenet.piggo.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.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
References: <20080205092408@ilium.andrews-corner.org> <20080205110445@ilium.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <20080205102935@usenet.piggo.com>
Subject: Re: [Leafnode] Filter for cigs?
Date: Tue, 05 Feb 2008 10:31:31 +1000
From: Troy Piggins <usenet-0802@piggo.com>
References: <20080205092408@ilium.andrews-corner.org> <20080205110445@ilium.andrews-corner.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.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 31
Reply-To: usenet-0802@piggo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX19ycvLlFQ9l91sSb7WHpq3MJx0CZLOi7ukYVpQSuqvWEWWNLU5PSoGKGqR1Jsgxb6ufUkjEYhbkvc9DdyCQVh7joUrHqp5v5Blo/ZE6eMdSsaY7Uw7H/WGL2WwVnoyueceC9Rmzg52yXg==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Tue, 5 Feb 2008 00:36:31 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX181iYivptSC6/mmME/RpgtbASvflI6L8y4QOAejYXAU9A==
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:G8hsFVi+aXY+U/ANB6t9cy4qn50=
User-Agent: slrn/pre0.9.9-82/rt (Linux)