]> git.wh0rd.org Git - nano.git/commitdiff
add support for characters to the "c-file" regexes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 20 Jan 2005 16:40:24 +0000 (16:40 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 20 Jan 2005 16:40:24 +0000 (16:40 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2292 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/nanorc.sample

index 999d90f31379437c294419070b289d1b25bdd43b..7c64b4a37db5084a82c234483c95aa45b7d8bfec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -282,6 +282,7 @@ CVS code -
          characters 128-255 aren't ASCII. (DLR, suggested by Michael
          Piefel)
        - Add the "morespace" option. (DLR)
+       - Add support for characters to the "c-file" regexes. (DLR)
 - nano.1. nanorc.5, nano.texi:
        - Add the "morespace" option, and sync with the descriptions in
          nanorc.sample in a few places. (DLR)
index 7cd42d0f36d8fcd64851f4b623b26c9ee68b93c0..7b7224f8549e1b352b84136dcaf94ff6baf6ee62 100644 (file)
 # color green "\<(float|double|char|int|short|long|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>"
 # color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break|return)\>"
 # color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)"
+# color brightmagenta "'([^\]|(\\['abfnrtv\\]))'" "'\\(([0-7][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'"
 ##
 ## You will in general want your comments and strings to come last,
 ## because syntax highlighting rules will be applied in the order they