Variable: replace-regexp-function
replace-regexp-function is a variable defined in replace.el.gz.
Value
nil
Documentation
Function to convert the FROM string of query-replace commands to a regexp.
This is used by query-replace, query-replace-regexp, etc. as
the value of isearch-regexp-function when they search for the
occurrences of the string/regexp to be replaced. This is intended
to be used when the string to be replaced, as typed by the user,
is not to be interpreted literally, but instead should be converted
to a regexp that is actually used for the search.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defvar replace-regexp-function nil
"Function to convert the FROM string of query-replace commands to a regexp.
This is used by `query-replace', `query-replace-regexp', etc. as
the value of `isearch-regexp-function' when they search for the
occurrences of the string/regexp to be replaced. This is intended
to be used when the string to be replaced, as typed by the user,
is not to be interpreted literally, but instead should be converted
to a regexp that is actually used for the search.")