From 1841b13282473b0ed8c591974e89bd781026180d Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Tue, 20 Oct 2020 17:35:29 +0100 Subject: [PATCH] Simplify regexp in last change to woman.el * lisp/woman.el (woman-decode-region): Use simpler character alternative instead of alternation. --- lisp/woman.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/woman.el b/lisp/woman.el index 52f610b569f..96ae7fe5794 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -2292,7 +2292,7 @@ Currently set only from \\='\\\" t in the first line of the source file.") ;; Ignore the \, and \/ kerning operators. See ;; https://www.gnu.org/software/groff/manual/groff.html#Ligatures-and-Kerning (goto-char (point-min)) - (while (re-search-forward "\\\\,\\|\\\\/" nil t) + (while (re-search-forward "\\\\[,/]" nil t) (replace-match "" t t)) ;; Hide unpaddable and digit-width spaces \(space) and \0: -- 2.39.2