I have been trying to use visual-regexp-steroids
without luck (a thread on this package can be found here)
When I do vr/replace (C-c p)
, I get a prompt in the minibuffer. I can enter regexps and Emacs shows interactively every match in the buffer. So far so good.
The problem comes when I click RET
and then enter another string (the one I want to replace my matches with). If I now do RET
(to do the actual replacements), I get the following message in the mini-buffer:
Args out of range #<killed buffer>, 0, 0
Why? How can I debug the problem and get it to work?
- Update: I have opened an issue in the GitHub repository here