From ca687839294b78800339b99b19a61cf098638dd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 16 Aug 2023 13:53:33 +0200 Subject: [PATCH] Fix Info parser regexp mistake * lisp/info.el (Info-split-parameter-string): The `\sX` syntax construct isn't valid inside character alternatives; follow the obvious intention. --- lisp/info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 035dff66e75..463aea93376 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -1587,7 +1587,7 @@ escaped (\\\",\\\\)." (let ((start 0) (parameter-alist)) (while (string-match - "\\s *\\([^=]+\\)=\\(?:\\([^\\s \"]+\\)\\|\\(?:\"\\(\\(?:[^\\\"]\\|\\\\[\\\"]\\)*\\)\"\\)\\)" + "\\s *\\([^=]+\\)=\\(?:\\([^\"[:space:]]+\\)\\|\\(?:\"\\(\\(?:[^\\\"]\\|\\\\[\\\"]\\)*\\)\"\\)\\)" parameter-string start) (setq start (match-end 0)) (push (cons (match-string 1 parameter-string) -- 2.39.2