]> git.wh0rd.org Git - nano.git/commitdiff
further simplify the "c-file" regex for characters
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 20:34:20 +0000 (20:34 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 30 Mar 2006 20:34:20 +0000 (20:34 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3340 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

doc/nanorc.sample

index 43855b168d3ac738a5cdff86c4258a2df9a7ffb0..52fbdfd08a8f23014b2393f5144a3e5e78b1c909 100644 (file)
 # color brightyellow "\<(try|throw|catch|operator|new|delete)\>"
 # color magenta "\<(goto|continue|break|return)\>"
 # color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)"
-# color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-7]{,2})|([0-3][0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'"
+# color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'"
 ##
 ## GCC builtins
 ##