Article View: news.software.readers
Article #174876Re: Dialog: colorizing header list
From: wyzwyz
Date: Mon, 10 Oct 2005 18:51
Date: Mon, 10 Oct 2005 18:51
31 lines
3000 bytes
3000 bytes
On Tue, 11 Oct 2005 04:44:26 +1000, wyzwyz wrote:
> On Thu, 6 Oct 2005 19:39:48 +0200, Korbinian Abenthum wrote:
>
>> wyzwyz wrote:
>
>> I'd recommend changing that a bit. Although it apparently works, the regular
>> expression is somewhat ambiguous?.
>> Use
>>
>>| !setcolor(default;$00FFFF) references {@krististuf\.com>(\s+<[^>]*>){4}\s*$} #brt yellow
>>| !setcolor(default;$FFCCFF) references {@krististuf\.com>(\s+<[^>]*>){3}\s*$} #lt lavender
>>| !setcolor(default;$99CCFF) references {@krististuf\.com>(\s+<[^>]*>){2}\s*$} #orange
>>| !setcolor(default;$33CCFF) references {@krististuf\.com>(\s+<[^>]*>){1}\s*$} #yellow
>>| !setcolor(default;$FFDDDD) references {@krististuf\.com>\s*$} #lt purple
>>| !setcolor(default;$FF99FF) Message-ID "@krististuf.com>" #lavender
>>
>
>> __
>> ?) a "\S" matches a ">" character. Apparently the "*" in DIALOG's RegEx
>> engine is lazy at the moment, since it works, but still. Furthermore, I'm
>> not quite sure if the regex as it was will match on a folded References
>> header. It probably will, since DIALOG unfolds it in the header-view, too,
>> but it should be safer with a "\s+" instead of a " ".
>
> what are your thoughts on using (\s+<[^<@>]+@[^<@>]+>) ?
oh, and i 4got to ask, does a [^>] match \s ? and is it worth adding to
it?
(according to the RegEX tester, it does match \s)
Technical Details
Message-ID:
<434ab83a$0$16872$5a62ac22@per-qv1-newsreader-01.iinet.net.au>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!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.cs.univ-paris8.fr!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <8p3ias3f1nof$.dlg@krististuf.com> <eesuq97ruqky$.dlg@krististuf.com> <434419e8$0$19774$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <061005.193948.nsr.58@news.abenthum.de> <434ab67f$0$16879$5a62ac22@per-qv1-newsreader-01.iinet.net.au>Show Full Headers
Complete Article Headers
Message-ID: <434ab83a$0$16872$5a62ac22@per-qv1-newsreader-01.iinet.net.au> Subject: Re: Dialog: colorizing header list Date: Tue, 11 Oct 2005 04:51:49 +1000 From: wyzwyz <wyzwyz@wyz.wyz> References: <p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <8p3ias3f1nof$.dlg@krististuf.com> <eesuq97ruqky$.dlg@krististuf.com> <434419e8$0$19774$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <061005.193948.nsr.58@news.abenthum.de> <434ab67f$0$16879$5a62ac22@per-qv1-newsreader-01.iinet.net.au> 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!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.cs.univ-paris8.fr!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lines: 31 NNTP-Posting-Host: 203.166.254.203 X-Trace: 1128970300 per-qv1-newsreader-01.iinet.net.au 16872 203.166.254.203