Commit 041d65a0 authored by Mattias Engdegård's avatar Mattias Engdegård

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

parent 29ec1e48
Pipeline #1091 failed with stage
in 50 minutes and 4 seconds
......@@ -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 "*"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment