🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137975

Re: Dialg Vs. Xnews Vs. The Rest .

#137975
From: Tech Zero
Date: Sat, 22 Nov 2003 18:46
22 lines
2187 bytes
The voice of "MLC" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> You can make the last four even simpler using the *g* modifier to
> switch the operators into non-greedy mode. Therefore you'll have:
> 
> =+98 References {(?-i-g)Relf>(.*>){1}$}
> =+97 References {(?-i-g)Relf>(.*>){2}$}
> =+96 References {(?-i-g)Relf>(.*>){3}$}
> =+95 References {(?-i-g)Relf>(.*>){4}$}


"{x}" in Regex would be an exact number of times, and in migh work for 
your use. Now about the rest of the Regex...

".*" is the same as ".{0,}", so there's no defining stop. All of your 
entries in their current state will match same thing. This is why I 
deliberately look for the end of each MID with "[^>]*>", that way I can 
count them...

-- 
The Tech Zero (Maxwell Pollare), Lost in the keys of Xnews...
Technical Details
Message-ID: <Xns943B77D0662CCZeroOne@news.individual.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
References: <tkl091-96r.ln1@news.gates_of_hell.INVALID> <11nx68tkit54h$.dlg@__.Jeff.Relf> <m2ad6pgxn2.fsf@maxqnz.com> <ayuuq25n6bph$.dlg@__.Jeff.Relf> <Xns943AB8CC42F0EZeroOne@news.individual.net> <vktvgaio3url$.dlg@__.Jeff.Relf> <Xns943B28B7A4F7DZeroOne@news.individual.net> <1vskveo0dkd6q.dlg@__.Jeff.Relf> <1536k80hfxwfp.dlg@__.Jeff.Relf> <mdijzwszzai2.dlg@ID-187316.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <Xns943B77D0662CCZeroOne@news.individual.net>
Subject: Re: Dialg Vs. Xnews Vs. The Rest .
Date: Sat, 22 Nov 2003 18:46:41 +0000
From: Tech Zero <spamnet-nov@dragonfur.ca>
References: <tkl091-96r.ln1@news.gates_of_hell.INVALID> <11nx68tkit54h$.dlg@__.Jeff.Relf> <m2ad6pgxn2.fsf@maxqnz.com> <ayuuq25n6bph$.dlg@__.Jeff.Relf> <Xns943AB8CC42F0EZeroOne@news.individual.net> <vktvgaio3url$.dlg@__.Jeff.Relf> <Xns943B28B7A4F7DZeroOne@news.individual.net> <1vskveo0dkd6q.dlg@__.Jeff.Relf> <1536k80hfxwfp.dlg@__.Jeff.Relf> <mdijzwszzai2.dlg@ID-187316.user.uni-berlin.de>
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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 22
NNTP-Posting-Host: d142-59-101-173.abhsia.telus.net (142.59.101.173)
X-Trace: news.uni-berlin.de 1069526801 61958027 142.59.101.173 (16 [139626])
User-Agent: Xnews/06.01.10