Add PRX macro from Howardism talk
This commit is contained in:
parent
5b45e3d385
commit
c9adcdaf46
@ -918,5 +918,14 @@ Return nil if DIR is not in a hugo project at all."
|
||||
(elpaca-use-package (cheat-sh :host github :repo "davep/cheat-sh.el")
|
||||
:commands cheat-sh)
|
||||
|
||||
(elpaca-use-package (pcre2el
|
||||
:host github
|
||||
:repo "joddie/pcre2el")
|
||||
:config
|
||||
(defmacro prx (&rest expressions)
|
||||
"Convert the rx-compatible regular EXPRESSIONS to PCRE.
|
||||
Most shell applications accept Perl Compatible Regular Expressions."
|
||||
`(rxt-elisp-to-pcre (rx ,@expressions))))
|
||||
|
||||
(provide 'mitch-packages)
|
||||
;;; mitch-packages.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user