emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 041d65a: * lisp/xml.el (xml-name-char-re): Remove s


From: Mattias Engdegård
Subject: [Emacs-diffs] master 041d65a: * lisp/xml.el (xml-name-char-re): Remove superfluous `-' in regexp.
Date: Wed, 27 Mar 2019 08:40:13 -0400 (EDT)

branch: master
commit 041d65a0451cba6f67ba9c032ef5cc8eaa36e852
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    * lisp/xml.el (xml-name-char-re): Remove superfluous `-' in regexp.
---
 lisp/xml.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/xml.el b/lisp/xml.el
index 076291b..44506b9 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 "*"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]