summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Engdegård <mattiase@acm.org>2019-03-27 13:34:13 +0100
committerMattias Engdegård <mattiase@acm.org>2019-03-27 13:39:33 +0100
commit041d65a0451cba6f67ba9c032ef5cc8eaa36e852 (patch)
treed2c23ea73b489119404f65111e5876453a884fa4
parent29ec1e48883dbdce8f9f81ac25d9ec38c474cdcb (diff)
downloademacs-041d65a0451cba6f67ba9c032ef5cc8eaa36e852.tar.gz
* lisp/xml.el (xml-name-char-re): Remove superfluous `-' in regexp.
-rw-r--r--lisp/xml.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index 076291bbb0c..44506b971aa 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -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 "*"))