summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-01-06 15:56:51 +0100
committerPhilipp Stephani <phst@google.com>2017-01-06 20:12:48 +0100
commit512e9886be693f61f9d1932f19461bf4482fba51 (patch)
tree84a9576c26b01fc8990e9290a3e52a3cb38c4550 /test/lisp/emacs-lisp
parent8f0376309ee37e4f1da21d78971c4df2df5fd7b6 (diff)
downloademacs-512e9886be693f61f9d1932f19461bf4482fba51.tar.gz
emacs-512e9886be693f61f9d1932f19461bf4482fba51.tar.bz2
emacs-512e9886be693f61f9d1932f19461bf4482fba51.zip
Add support for Unicode whitespace in [:blank:]
See Bug#25366. * src/character.c (blankp): New function for checking Unicode horizontal whitespace. * src/regex.c (ISBLANK): Use 'blankp' for non-ASCII horizontal whitespace. (BIT_BLANK): New bit for range table. (re_wctype_to_bit, execute_charset): Use it. * test/lisp/subr-tests.el (subr-tests--string-match-p--blank): Add unit test for [:blank:] character class. * test/src/regex-tests.el (test): Adapt unit test. * doc/lispref/searching.texi (Char Classes): Document new Unicode behavior for [:blank:].
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions