diff options
| author | Mattias EngdegÄrd | 2023-07-30 15:30:38 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-07-30 17:53:14 +0200 |
| commit | 5f5d668ac7917d61e9366fe0c3efd7b542671c3d (patch) | |
| tree | de9bc3583caa56b2dd622350fd6d54ac9bd5cff6 /java/org | |
| parent | 060766cf2c67314539e3002078add7f3fe3c6f86 (diff) | |
| download | emacs-5f5d668ac7917d61e9366fe0c3efd7b542671c3d.tar.gz emacs-5f5d668ac7917d61e9366fe0c3efd7b542671c3d.zip | |
Fix rx wrong-code bug: ranges starting with ^
(rx (in (?^ . ?a))) was incorrectly translated to "[^-a]".
Change it so that we get "[_-a^]" instead.
* lisp/emacs-lisp/rx.el (rx--generate-alt): Split ranges starting with
`^` occurring first in a non-negated character alternative.
* test/lisp/emacs-lisp/rx-tests.el (rx-any): Add and adapt tests.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions