diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 916c61b..d2f335e 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -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