Article View: news.software.readers
Article #243447Re: help with leafnode 2 only_groups_pcre regex?
From: Adam Funk
Date: Wed, 24 Nov 2010 20:48
Date: Wed, 24 Nov 2010 20:48
29 lines
1979 bytes
1979 bytes
On 2010-11-24, Christian Ebert wrote:
> * Adam Funk on Wednesday, November 24, 2010:
>> On 2010-11-21, Christian Ebert wrote:
>>> * Adam Funk on Sunday, November 21, 2010:
>>>> only_groups_pcre = ^([\+\-\w]+)(\.[\+\-\w]+(?<!binaries|binary|mp3|warez|binares|binarios|binari|binair))*$
>>>>
>>>> What does the "<" in the "?<!" do there?
>>>
>>> That's called a "negative lookbehind assertion". In case you want
>>> to get a headache, consult man pcrepattern ;-)
>>
>> Well, I didn't make that regex up myself!
>
> I never accused you of that!
LOL, whoever figured it out should get a prize!
>> I think I got it here or on the leafnode list.
>
> I only accuse you of wanting to know what it means!
Sometimes my curiosity gets the better of me.
--
War is God's way of teaching Americans geography.
[Ambrose Bierce]
Technical Details
Message-ID:
<daa0s7xi7r.ln2@news.ducksburg.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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<6donr7x00i.ln2@news.ducksburg.com> <v51or7x8242.ln2@krille.blacktrash.org> <p8gor7xatt.ln2@news.ducksburg.com> <p7nor7xj492.ln2@krille.blacktrash.org> <kepvr7xd5k.ln2@news.ducksburg.com> <rsuvr7xth41.ln2@krille.blacktrash.org>Show Full Headers
Complete Article Headers
Message-ID: <daa0s7xi7r.ln2@news.ducksburg.com> Subject: Re: help with leafnode 2 only_groups_pcre regex? Date: Wed, 24 Nov 2010 20:48:45 +0000 From: Adam Funk <a24061@ducksburg.com> References: <6donr7x00i.ln2@news.ducksburg.com> <v51or7x8242.ln2@krille.blacktrash.org> <p8gor7xatt.ln2@news.ducksburg.com> <p7nor7xj492.ln2@krille.blacktrash.org> <kepvr7xd5k.ln2@news.ducksburg.com> <rsuvr7xth41.ln2@krille.blacktrash.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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: $CABAL Lines: 29 X-Trace: individual.net ub89ozgZPG1A8kwdEn1RmQy5oCE1Kj5pZxyRjXW/MtJWaRKd8k X-Orig-Path: news.ducksburg.com!not-for-mail Cancel-Lock: sha1:kmnwZ2xsvv//PgEdcFnTluhPg4s= sha1:ajZ/5kTk8WYVc6V3zounvzz+kU4= User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)