[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] color syntax on Mac OS X Tiger
From: |
David Lawrence Ramsey |
Subject: |
Re: [Help-nano] color syntax on Mac OS X Tiger |
Date: |
Thu, 11 Aug 2005 02:36:22 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050716) |
Ron at compuvest.com wrote:
> Color syntax highlighting isn't working properly. Given:
>
> color green "\<(float|char|int|void|static|const|struct)\>"
>
> won't work at all, but:
>
> color green "(float|char|int|void|static|const|struct)"
>
> Will work, though it would, for example, highlight the "int" in
> "sprint". Why isn't the \< and \> word boundry assertions
> functioning?
It could be a difference in the word boundary characters. Apparently,
on at least some of the BSD's, the word boundary characters are
"[[:<:]]" and "[[:>:]]" instead of "\<" and "\>". Are you using one of
the BSD's, and does changing the word boundary characters this way
affect anything?