diff options
| author | Mattias Engdegård | 2019-03-27 13:34:13 +0100 |
|---|---|---|
| committer | Mattias Engdegård | 2019-03-27 13:39:33 +0100 |
| commit | 041d65a0451cba6f67ba9c032ef5cc8eaa36e852 (patch) | |
| tree | d2c23ea73b489119404f65111e5876453a884fa4 | |
| parent | 29ec1e48883dbdce8f9f81ac25d9ec38c474cdcb (diff) | |
| download | emacs-041d65a0451cba6f67ba9c032ef5cc8eaa36e852.tar.gz emacs-041d65a0451cba6f67ba9c032ef5cc8eaa36e852.zip | |
* lisp/xml.el (xml-name-char-re): Remove superfluous `-' in regexp.
| -rw-r--r-- | lisp/xml.el | 2 |
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'." | |||
| 180 | 180 | ||
| 181 | ;; [4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | 181 | ;; [4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 |
| 182 | ;; | [#x0300-#x036F] | [#x203F-#x2040] | 182 | ;; | [#x0300-#x036F] | [#x203F-#x2040] |
| 183 | (defconst xml-name-char-re (concat "[-0-9.[:word:]:_·̀-ͯ‿-⁀]")) | 183 | (defconst xml-name-char-re (concat "[-0-9.[:word:]:_·̀-ͯ‿⁀]")) |
| 184 | 184 | ||
| 185 | ;; [5] Name ::= NameStartChar (NameChar)* | 185 | ;; [5] Name ::= NameStartChar (NameChar)* |
| 186 | (defconst xml-name-re (concat xml-name-start-char-re xml-name-char-re "*")) | 186 | (defconst xml-name-re (concat xml-name-start-char-re xml-name-char-re "*")) |