From 7f77e1dcdde42f691e6bd2429408c79415b81b2a Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 26 Jun 2005 19:49:53 +0000 Subject: [PATCH] apparently a "[[:space:]]" doesn't work properly inside a "[^ ... ]"; replace it with a literal space and a literal tab, so that include files are properly colored again git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2766 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- doc/nanorc.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 8e31adae..7af60cf0 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -169,7 +169,7 @@ ## because syntax highlighting rules will be applied in the order they ## are read in. ## -# color brightyellow "<[^=[[:space:]]]*>" ""(\\.|[^\"])*"" +# color brightyellow "<[^= ]*>" ""(\\.|[^\"])*"" ## ## This string is VERY resource intensive!!! # color brightyellow start=""(\\.|[^\"])*\\[[:space:]]*$" end="^(\\.|[^\"])*"" -- 2.39.5