🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #128236

Re: [Xnews] Contacting Luu Tran with feature requests

#128236
From: »Q«
Date: Thu, 10 Jul 2003 02:28
32 lines
2377 bytes
Hiram Walker <nomail@thankyou.com> wrote in
<news:93B49B55BC347AF39@130.133.1.4>:

>> References: idtoken(?!.*idtoken)([^>]*>){1,3}
>
> Can someone talk me thru the regex expressions used here as I
> can't untangle what is going on in the "references" line.

It needs the $ at the end.

   References: idtoken(?!.*idtoken)([^>]*>){1,3}$
               1111111222222222222233333333444445

1 finds the IDtoken

2 negative lookahead assertion - makes sure there are no more
  IDtokens in the header, ie, makes sure we have found the /last/
  IDtoken appearing in the References header

3 subpattern which matches any number of non-">" characters
  followed by a ">" character

4 specifies that there should be between 1 and 3 substrings which
  match  part 3 and appear after part 1

5 makes sure we are looking at the end of the References

I hope that helps - I don't have much experience in regex to English
translation.

-- 
»Q«
Technical Details
Message-ID: <7f3dd799bcd37687b9b533e01e68768b@free.teranews.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!free.teranews.com!not-for-mail
References: <93B184D85D8577AF39@130.133.1.4> <Xns93B15D34EDEA68jUwe9053kODf78sfkj0@127.0.0.1> <93B27311275CB7AF39@130.133.1.4> <Xns93B28E3AA2A8B.thomas@esperanza.wkaz.net> <93B49B55BC347AF39@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <7f3dd799bcd37687b9b533e01e68768b@free.teranews.com>
Subject: Re: [Xnews] Contacting Luu Tran with feature requests
Date: Thu, 10 Jul 2003 02:28:56 GMT
From: "»Q«" <boxcars@gmx.net>
References: <93B184D85D8577AF39@130.133.1.4> <Xns93B15D34EDEA68jUwe9053kODf78sfkj0@127.0.0.1> <93B27311275CB7AF39@130.133.1.4> <Xns93B28E3AA2A8B.thomas@esperanza.wkaz.net> <93B49B55BC347AF39@130.133.1.4>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!free.teranews.com!not-for-mail
X-Abuse-Report: abuse@teranews.com
Lines: 32
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
X-Face: *#`F(_&o, GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,
 i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,
 Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C
X-Complaints-To: <http://www.cybergecko.com/complain.htm>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit