[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xr b702cd9 4/5: Add references to lex and pcre2el to RE
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/xr b702cd9 4/5: Add references to lex and pcre2el to README.org |
Date: |
Sun, 26 May 2019 13:17:53 -0400 (EDT) |
branch: externals/xr
commit b702cd9eb50bd026e3a82a2b151792b599fe00f7
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
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.