pcre2el
pcre2el copied to clipboard
convert between PCRE, Emacs and rx regexp syntax
i'm a novice when it comes to non-elisp regexes, but i'm interested in converting ICU regexes to el, either via PCRE and then this package or directly. does anyone around...
With Emacs 28, I get the following warnings: ``` path/to/pcre2el.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' [2 times] path/to/pcre2el.el: Warning: ‘merge’ is an obsolete alias (as...
Hi! I am investigating if we could add this package to [NonGNU ELPA](http://elpa.nongnu.org/) (see link), a new Emacs Lisp package archive that will be enabled by default in Emacs 28....
In rxt-toggle-elisp-rx: pcre2el.el:1042:13:Warning: looking-back called with 1 argument, but requires 2-3 Need to add `nil` to the call to `looking-back` to indicate no limit: ((looking-back "\"" nil) (backward-sexp))
https://github.com/joddie/pcre2el/blob/0b5b2a2c173aab3fd14aac6cf5e90ad3bf58fa7d/pcre2el.el#L558
``` $ emacs -version GNU Emacs 27.1 Copyright (C) 2020 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the...
Given Emacs 25.1 and pcre2el available from melpa (pcre2el-20161120.1303), I have tried to integrate isearch-query-regexp and pcre-query-replace.regexp. i.e. type the interactive search query and then press a keybind to drop...
```elisp ELISP> (rxt-elisp-to-pcre (rx-to-string '(optional (0+ " ")))) " *?" ELISP> (rx-to-string '(optional (0+ " "))) "\\(?:\\(?: *\\)?\\)" ELISP> ``` `*?` is the non-greedy repeat operator, not the optional +...
Hello: I want to ask is there any way to replace the `C-c /` prefix? Because this prefix conflicts with the key bindings of many of the modes I use...
Please include it in the repository.