emacs-pcre2el 1.12
Convert between PCRE, Emacs and rx regexp syntax
pcre2el
or rxt
(RegeXp Translator or RegeXp Tools) is a utility for working with regular expressions in Emacs, based on a recursive-descent parser for regexp syntax. In addition to converting (a subset of) PCRE syntax into its Emacs equivalent, it can do the following:
convert Emacs syntax to PCRE
convert either syntax to
rx
, an S-expression based regexp syntaxuntangle complex regexps by showing the parse tree in
rx
form and highlighting the corresponding chunks of codeshow the complete list of strings (productions) matching a regexp, provided the list is finite
provide live font-locking of regexp syntax (so far only for Elisp buffers – other modes on the TODO list).
- Website: https://github.com/joddie/pcre2el
- Licenses: GPL 3
- Package source: gnu/packages/emacs-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install emacs-pcre2el 1.12
as follows:
guix install emacs-pcre2el@1.12
Or install the latest version:
guix install emacs-pcre2el
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.