diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-04-19 09:00:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-04-19 09:02:25 -0700 |
commit | 9e4bb0d221bbd97f9318bacba0650d93708f0290 (patch) | |
tree | 0711cf59f86e4782cd8e0081921330097eb252de /lisp/xml.el | |
parent | e6a9785f8228130c339aad5ba0a514fee6539cab (diff) | |
download | emacs-9e4bb0d221bbd97f9318bacba0650d93708f0290.tar.gz |
Fix regexp branches that subsume other branches
Problems reported by Mattias Engdegård in:
https://lists.gnu.org/r/emacs-devel/2019-04/msg00803.html
* lisp/arc-mode.el (archive-rar-summarize):
* lisp/eshell/em-hist.el (eshell-hist-word-designator):
* lisp/info.el (Info-dir-remove-duplicates):
* lisp/international/ja-dic-cnv.el (skkdic-convert-postfix)
(skkdic-convert-prefix, skkdic-collect-okuri-nasi):
* lisp/progmodes/cc-awk.el (c-awk-esc-pair-re):
* lisp/xml.el (xml-att-type-re):
Omit regexp branches that subsume other branches.
* lisp/progmodes/cperl-mode.el (cperl-beautify-regexp-piece):
$ and ^ aren’t simple-codes.
Diffstat (limited to 'lisp/xml.el')
-rw-r--r-- | lisp/xml.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index b5b923f863e..1f3c05f4d92 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -245,7 +245,6 @@ See also `xml-get-attribute-or-nil'." ;; [54] AttType ::= StringType | TokenizedType | EnumeratedType ;; [55] StringType ::= 'CDATA' (defconst xml-att-type-re (concat "\\(?:CDATA\\|" xml-tokenized-type-re - "\\|" xml-notation-type-re "\\|" xml-enumerated-type-re "\\)")) ;; [60] DefaultDecl ::= '#REQUIRED' | '#IMPLIED' | (('#FIXED' S)? AttValue) |