[Top][All Lists]

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

[Nano-devel] aggressive C color highlighting

From: Mike Frysinger
Subject: [Nano-devel] aggressive C color highlighting
Date: Mon, 31 Jul 2006 22:19:29 -0400
User-agent: KMail/1.9.3

the comment highlighting:
color brightblue "//.*"
color brightblue start="/\*" end="\*/"

will incorrectly match this C code:
        //*foo = 'd';
        *foo = 'c';

i'd like to change this to:
color brightblue "//.*"
color brightblue start="[^/]/\*" end="\*/"

but then that would match the ; here:
        foo = 'd';/* foo */

any ideas ?

Attachment: pgp6pYAtk_cCU.pgp
Description: PGP signature

reply via email to

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