[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] regarding color syntax
From: |
Chris Allegretta |
Subject: |
Re: [Nano-devel] regarding color syntax |
Date: |
Thu, 19 Sep 2002 05:01:46 -0700 |
User-agent: |
Mutt/1.2.5.1i |
On Wed, Sep 18, 2002 at 02:00:34AM -0400, David Benbennick wrote:
> The example
>
> color brightyellow "\"(\\.|[^\\"])*\""
>
> can be replaced with
>
> color brightyellow ""(\\.|[^\"])*""
>
> to get the same effect. ** Note that color strings in the rc-file do not
> use backslash-escaping! Regexec interprets the \-escaped characters
>
> \^ \. \[ \$ \( \) \| \* \+ \? \{ and \\
>
> but Nano doesn't expect quotes to be escaped. Also, no \-escapes at all
> are interpreted within [ bracket expressions ].
Bah, try telling a C programmer not to escape quotes within a string,
it's an instinct ;-)
Chris A
--
Chris Allegretta http://www.asty.org
"Share and Enjoy" - Douglas Adams, 1952 - 2001