I have evil-mode installed and am trying to get PCRE regexes working everywhere.
I currently have pcre2el installed (https://github.com/joddie/pcre2el) and evil mode installed as well. I also have pcre2el turned on everywhere with
As an example, I want to search and replace for bar followed by any number of digits in the following file:
baraaa bar123123 bar44323 bar33232
If I do an incremental search, it works. E.g. if I do this:
It works. It finds lines 2, 3 and 4 and highlights them all appropriately, finding the all of the digits after
Search and replace, however, does not use the PCRE regexes. If I do this:
It does not recognize the parens (it thinks they need to be entered as
\)) and it does not recognize
\d as a character class -- I need to do the following to get it to work:
Is there something I'm missing here, or is it just that the pcre2el package does not work with search and replace in evil mode?