by srcreigh · 4y ago · 0 comments
There's an incrementing counter for regexp-replace, a way to manually enter a part of each replacement, and other goodies.
Personally I only use capture groups, no counters or other stuff.
I do like using M-p to edit my previous failed replacement before trying again. Sometimes I use a simple replacement as a test, undo it, then edit it to add further modifications.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Re...