Article View: news.software.readers
Article #255245Re: asking for more help on regex for Xnews
From: Guy
Date: Mon, 15 Jul 2013 21:40
Date: Mon, 15 Jul 2013 21:40
64 lines
3391 bytes
3391 bytes
Mike Yetto wrote:
> Mike Yetto wrote:
>
>> Guy wrote:
>>
>>> Mike Yetto wrote:
>
>>>>>> Q<< wrote:
>>>>
>>>>> Mike Yetto wrote:
>>>>
>>>>>> BookWight wrote:
>>>>>>
>>>>>>> Mike Yetto wrote:
>>>>>>>
>>>>>>>> BookWight wrote:
>>>>>>
>>>>>>>>> I'd like an expression that catchs a string of 20 or more
>>>>>>>>> lowercase or digits with zero or more dashes
>>>>>>>>
>>>>>>>> This is something to start with, assuming the alpha characters
>>>>>>>> are part of a hexadecimal value and located in the Subject:.
>>>>>>>>
>>>>>>>> #v+
>>>>>>>> Subject: [1234567890abcdef-]{20,}
>>>>>>>> #v-
>>>>>>>>
>>>>>>>> This will trigger on 20 or more of the listed characters and
>>>>>>>> might be what you are looking for.
>>>>>>>>
>>>>>>> That seems to be working quite nicely, thank you in spades!
>>>>>>
>>>>>> Really? On the first shot?
>>>>>>
>>>>> We could bikeshed it.
>>>>
>>>>> [\da-f-]{20}
>>>>
>>>> You almost won this round of golf, but you missed the 3 foot
>>>> putt. Hint, 20 or more,
>>>>
>>>> [\da-f-]{20,}
>>>>
>
>>> Subject= [\da-f-]{20,}
>
>>>>>> a string of 20 or more lowercase ...
>
>> Perhaps
>> Subject: \c[\da-f-]{20,}
>
> Opps, Xnews not slrn. Make that
> Subject:= [\da-f-]{20,}
>
No colon (:) before the equality symbol (=).
!!
--
Xnews Icon Patcher Files
<http://xnews-icon-patchers.tk/patcher.html>
Technical Details
Message-ID:
<A1FEA9AE21EEFEAC2E284CEEC009E394A9D7@127.0.0.1>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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mailReferences:
<XnsA1FB72E6DEA49bookwight@216.151.153.169> <slrn20130712155504.987.twooffive@may.eternal-september.org> <XnsA1FCBEC2B1759bookwight@8.17.249.100> <slrn20130714105533.87.twooffive@may.eternal-september.org> <20130714180044.3847778d@fuchsia.remarqs.net> <slrn20130714210346.171.twooffive@may.eternal-september.org> <A1FDD199AEC8BEAC2E284CEEC009E394A9D7@127.0.0.1> <slrn20130715081719.949.twooffive@may.eternal-september.org> <slrn20130715082240.892.twooffive@may.eternal-september.org>Show Full Headers
Complete Article Headers
Message-ID: <A1FEA9AE21EEFEAC2E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: asking for more help on regex for Xnews
Date: Mon, 15 Jul 2013 16:40:48 -0500
From: Guy <Use-Reply-To-Address-Header@[127.1]>
References: <XnsA1FB72E6DEA49bookwight@216.151.153.169> <slrn20130712155504.987.twooffive@may.eternal-september.org> <XnsA1FCBEC2B1759bookwight@8.17.249.100> <slrn20130714105533.87.twooffive@may.eternal-september.org> <20130714180044.3847778d@fuchsia.remarqs.net> <slrn20130714210346.171.twooffive@may.eternal-september.org> <A1FDD199AEC8BEAC2E284CEEC009E394A9D7@127.0.0.1> <slrn20130715081719.949.twooffive@may.eternal-september.org> <slrn20130715082240.892.twooffive@may.eternal-september.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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 64
Reply-To: guysalias [AT] operamail [DOT] com
NNTP-Posting-Host: FnkXd9RYFWwu8PKB9Ox/Nw.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Xnews/2007.02.16
Comments: "Whoever would overthrow the liberty of a nation must begin by
subduing the freeness of speech." -- Benjamin Franklin
X-No-Archive: yes
X-Notice: Filtered by postfilter v. 0.8.2
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;
U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P; HY{n-Q[V0"+>u5W`Zf&[c;
34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg; )hM/Ttq$Um2Kq$u
OpenPGP: url=http://guysalias.tk/keys/0x740405fcd57fddc1.txt;
id=C1DB3C6F7B042907CFDC0759372146CF; preference=signencrypt
X-Original-Bytes: 3109