Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielmartin/regexp-expand
Show the ELisp regular expression at point in rx form.
https://github.com/danielmartin/regexp-expand
emacs emacs-lisp regex regexp regular-expression
Last synced: 2 months ago
JSON representation
Show the ELisp regular expression at point in rx form.
- Host: GitHub
- URL: https://github.com/danielmartin/regexp-expand
- Owner: danielmartin
- License: gpl-3.0
- Created: 2020-04-26T09:56:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T10:32:21.000Z (about 4 years ago)
- Last Synced: 2024-08-01T03:43:44.646Z (5 months ago)
- Topics: emacs, emacs-lisp, regex, regexp, regular-expression
- Language: Emacs Lisp
- Size: 2.27 MB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# regexp-expand
Show the ELisp regular expression at point in `rx` form.## Installation
This package requires `xr`, which is available in ELPA/MELPA: `M-x package-install RET xr RET`
Then, clone this repository to your local machine and add the following to your initialization file:
```elisp
(add-to-list 'load-path "")
(require 'regexp-expand)
```The main entry point of this package is `regexp-expand`, a command that, when the point is inside a regular expression, will replace it temporarily with an equivalent but much more readable `rx` form.
## Demonstration
![Sample usage of regexp-expand](screenshots/sample.gif)