diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 8e31adae30708d1a3423ab4e782d4c0086254666..7af60cf0626a18364a54d017403aaee81e8134b5 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="^(\\.|[^\"])*""