From a899ab185f0706e33a944839420da17a89d3681e Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 27 Jun 2005 03:04:49 +0000 Subject: [PATCH] simplify the file extension regex for groff git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + doc/nanorc.sample | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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:]]]*" -- 2.39.5