]> git.eshelyaron.com Git - emacs.git/commit
Fix [:upper:] and [:lower:] for Unicode characters (bug#11309)
authorMattias Engdegård <mattiase@acm.org>
Tue, 8 Dec 2020 11:47:58 +0000 (12:47 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 9 Dec 2020 09:35:13 +0000 (10:35 +0100)
commitbe4d6b043fa79e2d9a9911ca1c48bdcc84e3bba9
treec44d668b1703733302d0c8131b4f86c55cf88124
parent22caab8bacf76ae439f8b647218b37334bfd87bd
Fix [:upper:] and [:lower:] for Unicode characters (bug#11309)

* src/regex-emacs.c (execute_charset): Add canon_table argument to
allow expression of a correct predicate for [:upper:] and [:lower:].
(mutually_exclusive_p, re_match_2_internal): Pass extra argument.
* test/src/regex-emacs-tests.el (regexp-case-fold, regexp-eszett):
New tests.  Parts of regexp-eszett still fail and are commented out.
src/regex-emacs.c
test/src/regex-emacs-tests.el