diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-02-26 14:46:01 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-02-26 22:09:17 +0100 |
commit | 8d5e8cddab732ac90e9ae930c63f7830f9dab24f (patch) | |
tree | 6db0e10a351f5d1292a67f4c02c3eefeb00b9714 /lisp/gnus/nndiary.el | |
parent | 2261f89324997351a41d8f12af513b8ec5e9c26b (diff) | |
download | emacs-8d5e8cddab732ac90e9ae930c63f7830f9dab24f.tar.gz emacs-8d5e8cddab732ac90e9ae930c63f7830f9dab24f.tar.bz2 emacs-8d5e8cddab732ac90e9ae930c63f7830f9dab24f.zip |
Signal an error for the regexp "[:alnum:]"
Omitting the extra brackets is a common mistake; see discussion at
https://lists.gnu.org/archive/html/emacs-devel/2020-02/msg00215.html
* src/regex-emacs.c (reg_errcode_t, re_error_msgid): Add REG_ECLASSBR.
(regex_compile): Check for the mistake.
* test/src/regex-emacs-tests.el (regexp-invalid): Test.
* etc/NEWS: Announce.
Diffstat (limited to 'lisp/gnus/nndiary.el')
0 files changed, 0 insertions, 0 deletions