Article View: news.software.readers
Article #255246Re: asking for more help on regex for Xnews
From: »Q«
Date: Mon, 15 Jul 2013 23:39
Date: Mon, 15 Jul 2013 23:39
53 lines
3490 bytes
3490 bytes
On Sun, 14 Jul 2013 21:07:32 -0400
Mike Yetto <myetto1@nycap.invalid> wrote:
> In a world where »Q« <boxcars@gmx.net>
> posts to Usenet.
> > On Sun, 14 Jul 2013 10:58:35 -0400
> > Mike Yetto <myetto1@nycap.invalid> wrote:
>
> >> In a world where BookWight <Bookwight@publicspam.com>
> >> posts to Usenet.
> >> > Wandering along the edges of news.software.readers, I found the
> >> > following bit of electronic flotsam written by Mike Yetto
> >> > <myetto1@nycap.invalid> in
> >> > news:slrn20130712155504.987.twooffive@may.eternal-september.org:
> >>
> >> >> In a world where BookWight <Bookwight@publicspam.com>
> >> >> posts to Usenet.
> >>
> >> >>> 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.
> >> >>
> >> >> Mike "let the tweaking begin" Yetto
> >>
> >> > That seems to be working quite nicely, thank you in spades!
> >>
> >> Really? On the first shot?
> >>
> >> Mike "where's the fun in that?" Yetto
>
> > 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,}
>
> Mike "and the tweaking has begun" Yetto
Any Subject that matches twenty or more will also match twenty. I do
miss putts, but not this one.
Technical Details
Message-ID:
<20130715183936.04ae014c@fuchsia.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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!mf3no25140663wib.1!news-out.google.com!b5ni62389wiz.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.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>Show Full Headers
Complete Article Headers
Message-ID: <20130715183936.04ae014c@fuchsia.remarqs.net> Subject: Re: asking for more help on regex for Xnews Date: Mon, 15 Jul 2013 18:39:36 -0500 From: »Q« <boxcars@gmx.net> 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> 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!mf3no25140663wib.1!news-out.google.com!b5ni62389wiz.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!137.226.231.214.MISMATCH!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail X-Received: by 10.180.210.168 with SMTP id mv8mr7957815wic.0.1373931582401; Newsgroups: news.software.readers Organization: none Lines: 53 Mime-Version: 1.0 Injection-Info: mx05.eternal-september.org; posting-host="060f5767b3442f2bbdf7f4ad966e93e3"; logging-data="30378"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YRe99caRdpyPHC0uJuEEPPZLH1KCc6wHMqvwXJTu9FA==" X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Cancel-Lock: sha1:TFMHKDUeAHPCH4Ex/w8r2OKLR00= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 3230