nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] more on color syntax highlighting


From: Ken Tyler
Subject: Re: [Nano-devel] more on color syntax highlighting
Date: Wed, 9 Oct 2002 06:02:27 +1000

On Tue, 8 Oct 2002, David Benbennick wrote:

> 2) Combine regexes.  For example, instead of saying
> 
> color green "\<float\>" "\<char\>" "\<int\>" "\<void\>"
> color green "\<static\>" "\<const\>" "\<struct\>"
> 
> you could use
> 
> color green "\<(float|char|int|void|static|const|struct)\>"

Hi, I found 
        color green "\<float|char|int|void\>"
highlights substring "int" in "print" but
        color green "\<float\>" "\<char\>" "\<int\>" "\<void\>"
or
        color green "\<float|char|int\>" "\<void\>"
works correctly.

Ken.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]