GNU bug report logs - #24093
24.5; xsdre-translate fails on general punctuation

Previous Next

Package: emacs;

Reported by: Patrick McAllister <pma <at> rdorte.org>

Date: Thu, 28 Jul 2016 07:59:01 UTC

Severity: normal

Tags: fixed

Found in version 24.5

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Patrick McAllister <pma <at> rdorte.org>
Cc: 24093 <at> debbugs.gnu.org
Subject: bug#24093: 24.5; xsdre-translate fails on general punctuation
Date: Wed, 02 Dec 2020 12:23:34 +0100
Patrick McAllister <pma <at> 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




This bug report was last modified 4 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.