From: Chris Allegretta Date: Wed, 18 Sep 2002 00:00:12 +0000 (+0000) Subject: - Add a better string matching sequence that includes escaped quotes (thanks to Carl... X-Git-Tag: v1.1.11~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3f9c3bf10b3b3b008e5cc6f0874ac570b769fb11;p=nano.git - Add a better string matching sequence that includes escaped quotes (thanks to Carl E. Lindberg, who doesn't even know he helped ;-) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1277 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index e811e41b..10709eb3 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 27cb0706..15305bc7 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="\*/"