* lisp/xml.el (xml-name-char-re): Remove superfluous `-' in regexp.

This commit is contained in:
Mattias Engdegård 2019-03-27 13:34:13 +01:00
parent 29ec1e4888
commit 041d65a045

View file

@ -180,7 +180,7 @@ See also `xml-get-attribute-or-nil'."
;; [4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7
;; | [#x0300-#x036F] | [#x203F-#x2040]
(defconst xml-name-char-re (concat "[-0-9.[:word:]:_·̀-ͯ‿-⁀]"))
(defconst xml-name-char-re (concat "[-0-9.[:word:]:_·̀-ͯ‿⁀]"))
;; [5] Name ::= NameStartChar (NameChar)*
(defconst xml-name-re (concat xml-name-start-char-re xml-name-char-re "*"))