pcre2el
pcre2el copied to clipboard
Prefer strings to comments in ranges with rxt-elisp-to-rx
ELISP> (rxt-elisp-to-rx "[_a-z]")
(any 95
(97 . 122))
I think this should convert characters to strings (so "_"
rather than 95, which is ?_
), and ranges could be strings too. Ideally the output would be:
ELISP> (rxt-elisp-to-rx "[_a-z]")
(any "_" "a-z")