From: David Lawrence Ramsey Date: Sun, 26 Jun 2005 19:49:53 +0000 (+0000) Subject: apparently a "[[:space:]]" doesn't work properly inside a "[^ ... ]"; X-Git-Tag: v1.3.8~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7f77e1dcdde42f691e6bd2429408c79415b81b2a;p=nano.git 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 --- 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="^(\\.|[^\"])*""