diff --git a/ChangeLog b/ChangeLog
index eb81deeedc060e753a7785ca61dbfdccbaef17b4..131a8c5e088ba5bdc1871523d6960e52664366a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -449,6 +449,8 @@ CVS code -
 	  variables, such as $? and $@. (Benno Schulenberg)
 	- Tweak the "nanorc" regexes to color comments bright blue
 	  instead of blue. (John M. Gabriele)
+	- Simplify the extensions associated with the "nanorc" regexes.
+	  (DLR)
 - src/Makefile.am:
 	- If we're uninstalling, remove the "rnano" symlink. (DLR, found
 	  by Benno Schulenberg)
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 517a9041c63a9852e755d1070caace4268424d14..e3fb0eb5ceb7d7a9a943d0cb466df7b283dec102 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -366,7 +366,7 @@
 
 ## Here is an example for your .nanorc.
 ##
-# syntax "nanorc" "(\.|/|)nanorc$"
+# syntax "nanorc" "\.?nanorc$"
 ## Possible errors and parameters
 # icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
 ## Keywords