bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24093: 24.5; xsdre-translate fails on general punctuation


From: Lars Ingebrigtsen
Subject: bug#24093: 24.5; xsdre-translate fails on general punctuation
Date: Wed, 02 Dec 2020 12:23:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Patrick McAllister <pma@rdorte.org> writes:

> This seems to cause trouble:
>
> emacs -Q
> M-x load-library xsd-regexp
> ;; this is as expected:
> (string-match (xsdre-translate "\\p{Pd}") "a-b");; 1
> ;; this fails:
> (string-match (xsdre-translate "\\p{P}") "a-b");; nil
>
> The regular expression produced for "\\p{P}" is faulty:
>
> (pp (xsdre-translate "\\p{P}"))

Yup.  I've now fixed this in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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