diff --git a/ChangeLog b/ChangeLog index e811e41b0af910357e7b712fc1df0aa1ab77311e..10709eb3789efd953b07386b255cfc361f15e092 100644 --- a/ChangeLog +++ b/ChangeLog @@ -116,6 +116,9 @@ CVS code - - nanorc.sample: - Fix the c-file regex for all caps words to be extended regex format ({} instead of \{\}) (found by DLR). + - Add a better string matching sequence that includes escaped + quotes (thanks to Carl E. Lindberg, who doesn't even know he + helped ;-) - utils.c: charalloc() - Switch from using calloc() to using malloc(). (David diff --git a/nanorc.sample b/nanorc.sample index 27cb070632e05eeaaa1f2fe2e35423600fde58cd..15305bc748a3922eebd33579866108bff7b91b6f 100644 --- a/nanorc.sample +++ b/nanorc.sample @@ -102,7 +102,7 @@ # because syntax highlighting rules will be applied in the order they are # read in -# color brightyellow "<[^= ]*>" "\"[^"]*\"" +# color brightyellow "<[^= ]*>" "\"(\\.|[^\\"])*\"" # color brightblue "//.*" # color brightblue start="/\*" end="\*/"