Article View: news.software.readers
Article #137981Re: Dialg Vs. Xnews Vs. The Rest .
From: MLC
Date: Sat, 22 Nov 2003 19:42
Date: Sat, 22 Nov 2003 19:42
34 lines
2948 bytes
2948 bytes
22 Nov 2003 18:46:41 GMT
Tech Zero ha scritto:
> 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.
Making the quantifier * non-greedy there is.
If you make a search in the body of this message with (?-g)(.*>){2}, and
keep searching with F3, you'll find all the occurrences where > appears two
times.
I don't know why it doesn't work with the scoring.
> 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...
Yes, this is true by default, if you don't use the (?-g).
--
Maria Luisa C - 22/11/2003 20.29.23, here.
un tutorial sulle Espressioni Regolari:
http://fido.altervista.org/
Technical Details
Message-ID:
<okxww53xs786.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!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!ppp-208-198.26-151.libero.IT!not-for-mailReferences:
<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> <Xns943B77D0662CCZeroOne@news.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <okxww53xs786.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: Dialg Vs. Xnews Vs. The Rest .
Date: Sat, 22 Nov 2003 20:42:57 +0100
From: MLC <maluc52@yahoo.it>
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> <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!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!ppp-208-198.26-151.libero.IT!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 34
NNTP-Posting-Host: ppp-208-198.26-151.libero.it (151.26.198.208)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1069530181 61295623 151.26.198.208 (16 [187316])
User-Agent: 40tude_Dialog/2.0.8.1 (051d08e5.104.115)
X-Face: (O6iue.kQNT|`uU@vD|.WKC^TF~T<TIA,\;
B'27kz>*1Mk|Z6U!2EKSFc')'xVk]t'/3<,#
#L+5&I{L<!Q%p[k|+%mSCT"e2\4JnDJhbQ,`EA4fu$q0q>{7W?\gQeqD@*lzcR0~:9Zzn!1yCRb