diff --git a/ChangeLog b/ChangeLog index dbfe067c4d18ce0d9caa5cc93b6277253dc183c9..28f0bc293e693b52e2d9dae9c4a76f50da5fa754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,7 +11,7 @@ CVS code - - Update the copyright years to include 2006. (DLR) - doc/nanorc.sample: - Tweak the "c-file" regex for characters to accept '"' again, - as it's apparently valid. (DLR) + as it's apparently valid, and simplify it. (DLR) - Simplify the "shellscript" regex for command line options. (DLR) - Replace instances of \" with ", since quotes inside string diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 18628e226f896a9ea2b820dcfd854931e4f772a3..43855b168d3ac738a5cdff86c4258a2df9a7ffb0 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -198,7 +198,7 @@ # 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][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'" +# color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-7]{,2})|([0-3][0-7]{,2}))'" "'\\x[0-9A-Fa-f]{,2}'" ## ## GCC builtins ##