pcre2el icon indicating copy to clipboard operation
pcre2el copied to clipboard

Prefer strings to comments in ranges with rxt-elisp-to-rx

Open Wilfred opened this issue 8 years ago • 0 comments

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")

Wilfred avatar Dec 22 '16 18:12 Wilfred