emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111193: * xml.el (xml-entity-or-c


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111193: * xml.el (xml-entity-or-char-ref-re): Fix regexp.
Date: Wed, 23 Jan 2013 14:25:50 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111193
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Wed 2013-01-23 14:25:50 +0800
message:
  * xml.el (xml-entity-or-char-ref-re): Fix regexp.
  
  This bug was reported by Jae-oh Kim; it was posted to bug-gnu-emacs
  but didn't show up in the bug tracker for some reason.  It is a
  regression against Emacs 24.2.
modified:
  lisp/ChangeLog
  lisp/xml.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-01-18 18:35:44 +0000
+++ b/lisp/ChangeLog    2013-01-23 06:25:50 +0000
@@ -1,3 +1,7 @@
+2013-01-23  Chong Yidong  <address@hidden>
+
+       * xml.el (xml-entity-or-char-ref-re): Fix regexp.
+
 2013-01-18  Leo Liu  <address@hidden>
 
        * dired.el (dired-get-marked-files): Prune erroneous values due to

=== modified file 'lisp/xml.el'
--- a/lisp/xml.el       2013-01-01 09:11:05 +0000
+++ b/lisp/xml.el       2013-01-23 06:25:50 +0000
@@ -200,7 +200,7 @@
 ;; [68] EntityRef   ::= '&' Name ';'
 (defconst xml-entity-ref (concat "&" xml-name-re ";"))
 
-(defconst xml-entity-or-char-ref-re (concat "&\\(?:#\\(x\\)?\\([0-9]+\\)\\|\\("
+(defconst xml-entity-or-char-ref-re (concat 
"&\\(?:#\\(x\\)?\\([0-9a-fA-F]+\\)\\|\\("
                                            xml-name-re "\\)\\);"))
 
 ;; [69] PEReference ::= '%' Name ';'


reply via email to

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