diff options
| author | Eli Zaretskii | 2015-02-28 14:25:35 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-02-28 14:25:35 +0200 |
| commit | 1a50945fa4c666ae2ab5cd9419d23ad063ea1249 (patch) | |
| tree | e44604490fdf92f8912679a30eec7bb7ecb1929f /src/ChangeLog | |
| parent | 31ecbf8d513540855aa07588f6746942aed453ba (diff) | |
| download | emacs-1a50945fa4c666ae2ab5cd9419d23ad063ea1249.tar.gz emacs-1a50945fa4c666ae2ab5cd9419d23ad063ea1249.zip | |
Improve [:alpha:] and [:alnum:] for multibyte characters (Bug#19878)
src/character.c (alphabeticp, decimalnump): New functions.
src/character.h (alphabeticp, decimalnump): Add prototypes.
src/regex.c (ISALNUM, ISALPHA): Check Unicode character properties
for multibyte characters by calling alphabeticp and decimalnump.
(BIT_ALPHA, BIT_ALNUM): New bit masks.
(re_wctype_to_bit): Return them when the class is RECC_ALPHA or
RECC_ALNUM.
(re_match_2_internal): Call ISALPHA and ISALNUM when appropriate.
doc/lispref/searching.texi (Char Classes): Update the documentation of
[:alpha:] and [:alnum:].
etc/NEWS: Mention the changes in [:alpha:] and [:alnum:].
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index df687914911..97ecbac0953 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2015-02-28 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * character.c (alphabeticp, decimalnump): New functions. | ||
| 4 | * character.h (alphabeticp, decimalnump): Add prototypes. | ||
| 5 | |||
| 6 | * regex.c (ISALNUM, ISALPHA): Check Unicode character properties | ||
| 7 | for multibyte characters by calling alphabeticp and decimalnump. | ||
| 8 | (BIT_ALPHA, BIT_ALNUM): New bit masks. | ||
| 9 | (re_wctype_to_bit): Return them when the class is RECC_ALPHA or | ||
| 10 | RECC_ALNUM. | ||
| 11 | (re_match_2_internal): Call ISALPHA and ISALNUM when appropriate. | ||
| 12 | (Bug#19878) | ||
| 13 | |||
| 1 | 2015-02-27 Jan Djärv <jan.h.d@swipnet.se> | 14 | 2015-02-27 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 15 | ||
| 3 | * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also. | 16 | * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also. |