diff --git a/ChangeLog b/ChangeLog index 8d181dfd..6630fe3d 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 ea954caf..51e8920a 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:]]]*"