GNU bug report logs - #25366
26.0.50; [:blank:] character class should match all Unicode horizontal whitespace

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 5 Jan 2017 13:47:02 UTC

Severity: wishlist

Tags: confirmed

Found in version 26.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25366 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 25366 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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.




This bug report was last modified 8 years and 193 days ago.

Previous Next


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