🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Sonam Dasara Thu, 23 Sep 2004 16:19
Dialog: regular expression
#156009
Author: Sonam Dasara
Date: Thu, 23 Sep 2004 16:19
17 lines
1303 bytes
Hi,

	I'm new to regular expressions, and in Dialog, I want to colorize posts
that are marked "AD" in the subject.

	I'm using this : -5000 Subject "AD" - (setcolor is elsewhere)

	Problem is it colors subjects with "read" and the like in them. How do I
limit this expression to the word "AD".

	Many thanks!
-- 
Cordially,

Sonam Dasara

dovekeeper+at+electric-ink+dot+com
Re: Dialog: regular expression
#156010
Author: MLC
Date: Thu, 23 Sep 2004 16:29
19 lines
1747 bytes
_Sonam Dasara_, giovedì 23/set/2004:

> Hi,
> 
> 	I'm new to regular expressions, and in Dialog, I want to colorize posts
> that are marked "AD" in the subject.
> 
> 	I'm using this : -5000 Subject "AD" - (setcolor is elsewhere)
> 
> 	Problem is it colors subjects with "read" and the like in them. How do I
> limit this expression to the word "AD".
> 
> 	Many thanks!

-5000 Subject {\bAD\b}

Ciao,
-- 
Maria Luisa C - 23/09/2004 18.28.42
Re: Dialog: regular expression
#156012
Author: Sonam Dasara
Date: Thu, 23 Sep 2004 16:53
28 lines
1585 bytes
On Thu, 23 Sep 2004 18:29:32 +0200, MLC wrote:

> _Sonam Dasara_, giovedì 23/set/2004:
> 
>> Hi,
>> 
>> 	I'm new to regular expressions, and in Dialog, I want to colorize posts
>> that are marked "AD" in the subject.
>> 
>> 	I'm using this : -5000 Subject "AD" - (setcolor is elsewhere)
>> 
>> 	Problem is it colors subjects with "read" and the like in them. How do I
>> limit this expression to the word "AD".
>> 
>> 	Many thanks!
> 
> -5000 Subject {\bAD\b}
> 
> Ciao,

	Grazie!

-- 
Cordially,

Sonam Dasara

dovekeeper+at+electric-ink+dot+com
Re: Dialog: regular expression
#156052
Author: Nazgul
Date: Fri, 24 Sep 2004 01:12
15 lines
2234 bytes
Duboko razmisljajuci, Sonam Dasara napisa:

/cut
Have a similar problem, so I'll post it here...
I did the colorification of the posts as well... And it works fine. The
question is, is there any way that these posts use their "unread posts"
color when they are... Well... Unread, and when they get read, to switch
the color to the score-based one?
Thanks.

-- 
Riblji stapici su vec dugo mrtvi i ne mogu vise plivati.

Stargate HR forum: http://stargatehr.webhop.net/
SF Mreza portal: http://www.sfmreza.tk/ (Update: 17.09.2004.)
Re: Dialog: regular expression
#156412
Author: Antonio 'Gandalf' Favata
Date: Sat, 02 Oct 2004 00:42
20 lines
2153 bytes
Je la /2004-09-24/, *Nazgul* skribis:

> I did the colorification of the posts as well... And it works fine. The
> question is, is there any way that these posts use their "unread posts"
> color when they are... Well... Unread, and when they get read, to switch
> the color to the score-based one?

The only way, AFAIK, is this (from an idea by *Alan Ford*):
1) have Dialog automatically download only the headers, not the body;
2) use a rule with the Header keyword, such as
|| !setcolor(white;navy) Header {^From:\sNazgul} #colorize Nazgul's posts
3) optionally use the «Read Messages with a Single Click» script.

The !setcolor rule will only be executed when you download the message's
body, not during the Xover (i.e. when you download the headers).
-- 
Fare Well!    40tude Dialog (2.0.14.1, beta 37): http://snurl.com/dialog
G             Free It-Alt Group (it-alt/free.it USG): http://www.fiag.it
      ICQ#    News server (gratuito ed anonimo): http://www.x-privat.org
  16553733    Per proporre nuovi gruppi su it-alt.* ~ news:it-alt.config
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads