diff --git a/ChangeLog b/ChangeLog
index 8d181dfd9baafb88b12e511e6eb9d7183cc35770..6630fe3d9d7dbd740989e24ac8646cb4aa81ee5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -369,6 +369,7 @@ CVS code -
 	- Move some overly long split-up regex strings that cover
 	  similar areas onto the same line. (DLR)
 	- Add GCC builtins to the "c-file" regexes. (Mike Frysinger)
+	- Simplify the file extension regex for groff. (DLR)
 - nanorc.5:
 	- Update the description of how the "color" regex works. (DLR)
 	- Clarify descriptions of the characters that aren't allowed
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index ea954caf99c80b127382dda35d9caa4581b21903..51e8920aabbc842ead566a34c8005016aad75af2 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -199,7 +199,7 @@
 
 ## Here is an example for groff
 ##
-# syntax "groff" "\.ms$" "\.mm$" "\.me$" "\.tmac$" "^tmac." ".rof"
+# syntax "groff" "\.m[ems]$" "\.tmac$" "^tmac." ".rof"
 ## The argument of .nr or .ds
 # color cyan "^\.ds [^[[:space:]]]*"
 # color cyan "^\.nr [^[[:space:]]]*"