🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216432

Re: [Leafnode] Filter for cigs?

#216432
From: »Q«
Date: Tue, 05 Feb 2008 01:06
12 lines
1485 bytes
Peter J Ross <pjr@example.invalid> wrote:

> or, more elaborately and probably unnecessarily so:
> 
> 	pattern = ^Subject:.*(?i)\bcigarett(e|es|)\b
> 
> "(?i)" makes whatever follows case-insensitive. "\b" matches a word
> boundary. "(e|es|)" matches "e", "es" or nothing.

I'd use (?i)\bcigarett(es?)?\b

It shouldn't make much difference, if any -- I'm just bored tonight.
Technical Details
Message-ID: <20080204190640.58fe3f7c@bellgrove.remarqs.net>
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!image.surnet.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20080205092408@ilium.andrews-corner.org> <slrnfqfc11.8jl.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <20080204190640.58fe3f7c@bellgrove.remarqs.net>
Subject: Re: [Leafnode] Filter for cigs?
Date: Mon, 4 Feb 2008 19:06:40 -0600
From: »Q« <boxcars@gmx.net>
References: <20080205092408@ilium.andrews-corner.org> <slrnfqfc11.8jl.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!image.surnet.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 12
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 0UjN2Vq972jqMhWyP8LKiAz1+EmPN5FHtcjvJ9AT0wapE51V8Y
X-Orig-Path: bellgrove.remarqs!not-for-mail
Cancel-Lock: sha1:obsj/zYfsazQXFVzycIZ3tPxzDo=
X-Newsreader: Claws Mail 3.2.0 (GTK+ 2.12.5; i686-pc-linux-gnu)