branch: externals/xr commit b702cd9eb50bd026e3a82a2b151792b599fe00f7 Author: Mattias Engdegård <matti...@acm.org> Commit: Mattias Engdegård <matti...@acm.org>
Add references to lex and pcre2el to README.org Copied from the package comment section; suggested by alphapapa (#1). --- README.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.org b/README.org index 98cb56a..5e06d0b 100644 --- a/README.org +++ b/README.org @@ -52,3 +52,12 @@ Utility: * See also The [[https://elpa.gnu.org/packages/relint.html][relint]] package uses xr to find regexp mistakes in elisp code. + +The [[https://elpa.gnu.org/packages/lex.html][lex]] package, a lexical analyser generator, provides the +~lex-parse-re~ function which translates regexps to rx, but does not +attempt to handle all the edge cases of Elisp's regexp syntax or +pretty-print the result. + +The [[https://github.com/joddie/pcre2el][pcre2el]] package, a regexp syntax converter and interactive regexp +explainer, can also be used for translating regexps to rx. However, xr +is more accurate for this purpose.