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: Eli Zaretskii
Subject: bug#25366: 26.0.50; [:blank:] character class should match all Unicode horizontal whitespace
Date: Thu, 05 Jan 2017 17:50:21 +0200

> From: Philipp Stephani <p.stephani2@gmail.com>
> 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.





reply via email to

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