Article View: news.software.readers
Article #137979Re: [ Dialog ] Does (?x-g) Work ?
From: MLC
Date: Sat, 22 Nov 2003 19:18
Date: Sat, 22 Nov 2003 19:18
45 lines
3081 bytes
3081 bytes
Sat, 22 Nov 2003 10:25:14 -0800
Jeff Relf ha scritto:
> Hi MLC , You say :
>> 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}$}
>
> That didn't work . Is this a bug ?
>
> If I understand the (?-g) switch ,
> I'm thinking that it Should work .
In the past I had tested (?-g) in the Search window and there it works.
Now I have tested
=+100 References {(?-i-g)Relf>(.*>){1}$}
=+200 References {(?-i-g)Relf>(.*>){2}$}
and it works only adding 100 to your messages and to all the answers to
you, no matter how deep they are :/
I don't understand why, the syntax seems right.
> Another mode that doesn't seem to work for me is (?x)
>
> From Dialog's help pages :
> dialog.chm::/regularexpressions.htm
>
> << The default modifier states in 40tude Dialog
> are "imsg" ("x" is not set).
> ...
[snip]
As you have read in the help, the (?x) is not implemented in Dialog.
I think it isn't a great loss, because here we don't have the need to put a
regex on multiple lines.
--
Maria Luisa C - 22/11/2003 19.59.26, here.
un tutorial sulle Espressioni Regolari:
http://fido.altervista.org/
Technical Details
Message-ID:
<1x2noxx5wmdwv$.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!newsfeed.stueberl.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> <ryfly0mwj1k8$.dlg@__.Jeff.Relf>Show Full Headers
Complete Article Headers
Message-ID: <1x2noxx5wmdwv$.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [ Dialog ] Does (?x-g) Work ?
Date: Sat, 22 Nov 2003 20:18:51 +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> <ryfly0mwj1k8$.dlg@__.Jeff.Relf>
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!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!ppp-208-198.26-151.libero.IT!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 45
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 1069528735 61676916 151.26.198.208 (16 [187316])
User-Agent: 40tude_Dialog/2.0.8.1 (9d76ffab.116.66)
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