Commit beb1d222 authored by Tino Calancha's avatar Tino Calancha

Fix query-replace-regexp undo feature

Ensure that non-regexp strings used with `looking-at' are quoted.
* lisp/replace.el (perform-replace): Quote regexp (Bug#37073).
* test/lisp/replace-tests.el (replace-tests-perform-replace-regexp-flag):
New variable.
(replace-tests-with-undo): Use it.
(query-replace-undo-bug37073): Add tests.
parent 190565b2
Pipeline #2894 failed with stage
in 25 minutes and 47 seconds