]> git.eshelyaron.com Git - emacs.git/commit
Fix xsdre-range-list-to-char-alternative problem with {P}
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 2 Dec 2020 11:23:13 +0000 (12:23 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 2 Dec 2020 11:23:13 +0000 (12:23 +0100)
commitb31e7c51d604eecef0602cf2e3c0cf469db3edc9
treef47509bea02c083f2079f129904a87876bf56ecc
parentbf43bcbed81ba0fa4376bcd6568279fa3c519c3a
Fix xsdre-range-list-to-char-alternative problem with {P}

* lisp/nxml/xsd-regexp.el (xsdre-range-list-to-char-alternative):
Make (string-match (xsdre-translate "\\p{P}") "a-b") work
(bug#24093) -- the "forbidden" characters don't have to be the
first elements in a range.
lisp/nxml/xsd-regexp.el