From: Mattias EngdegÄrd Date: Wed, 16 Aug 2023 11:53:33 +0000 (+0200) Subject: Fix Info parser regexp mistake X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca687839294b78800339b99b19a61cf098638dd8;p=emacs.git 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. --- 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)