Commit a6b59851 authored by Mattias Engdegård's avatar Mattias Engdegård

Avoid duplicated character classes in rx

For example, (any digit digit) should produce "[[:digit:]]",
not "[[:digit:][:digit:]]".

* lisp/emacs-lisp/rx.el (rx--translate-any): Deduplicate character classes.
* test/lisp/emacs-lisp/rx-tests.el (rx-any): Add test case.
parent a05bafff
Pipeline #4226 failed with stage
in 65 minutes and 18 seconds