[Top][All Lists]
[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.
- [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/07
- Re: [Nano-devel] more on color syntax highlighting, David Benbennick, 2002/10/07
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting, David Benbennick, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting,
Ken Tyler <=
- Re: [Nano-devel] more on color syntax highlighting, David Benbennick, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting, David Benbennick, 2002/10/08
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/10
- Re: [Nano-devel] more on color syntax highlighting, David Benbennick, 2002/10/10
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/11
- Re: [Nano-devel] more on color syntax highlighting, Ken Tyler, 2002/10/08