๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216436

Re: [Leafnode] Filter for cigs?

#216436
From: Blinky the Shark
Date: Tue, 05 Feb 2008 02:04
25 lines
2050 bytes
ยปQยซ wrote:

> 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.

Why are the word boundaries needed?

BUYCIGARETTES!!!11!!!!!!

-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Technical Details
Message-ID: <pan.2008.02.05.02.04.23.549375@thurston.blinkynet.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!newsfeed-0.progon.net!progon.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20080205092408@ilium.andrews-corner.org> <slrnfqfc11.8jl.pjr@pjr.gotdns.org> <20080204190640.58fe3f7c@bellgrove.remarqs.net>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2008.02.05.02.04.23.549375@thurston.blinkynet.net>
Subject: Re: [Leafnode] Filter for cigs?
Date: Mon, 04 Feb 2008 18:04:23 -0800
From: Blinky the Shark <no.spam@box.invalid>
References: <20080205092408@ilium.andrews-corner.org> <slrnfqfc11.8jl.pjr@pjr.gotdns.org> <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!newsfeed-0.progon.net!progon.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net http://improve-usenet.org
Lines: 25
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 3ZSDR4CSKpeMDmO1Vg/Uzw0+dQVssjt8KPCcQWcAfvltZzDl2Z
Cancel-Lock: sha1:8KFGS6rH3DL8pAMqN+zvuIlZHTE=
User-Agent: Pan/0.14.2.91
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva Linux 2006.0; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=green; TextColor=green
X-The-Usenet-Improvement-Project: http://improve-usenet.org