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

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

bug#25366: 26.0.50; [:blank:] character class should match all Unicode h


From: Philipp Stephani
Subject: bug#25366: 26.0.50; [:blank:] character class should match all Unicode horizontal whitespace
Date: Fri, 06 Jan 2017 15:00:22 +0000



Eli Zaretskii <address@hidden> schrieb am Do., 5. Jan. 2017 um 16:50 Uhr:
> From: Philipp Stephani <address@hidden>
> Date: Thu, 05 Jan 2017 14:46:01 +0100
>
> (string-match-p "[[:blank:]]" "\N{HAIR SPACE}")
> => nil, expected 0
>
> [[:blank:]] should be the same as \h in PRCE.

We are consistent with our documentation, but I agree that it would be
good to extend [:blank:], as proposed here:

  http://www.unicode.org/reports/tr18/tr18-19.html#Compatibility_Properties

Patches to that effect are welcome.

Here's a patch. 

Attachment: 0001-Add-support-for-Unicode-whitespace-in-blank.txt
Description: Text document


reply via email to

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