Variable: query-replace-eval-replacement-regexp

query-replace-eval-replacement-regexp is a variable defined in replace.el.gz.

Value

"\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\\\[,#]"

Documentation

Regexp matching a replacement string that needs to be evaluated.

This matches the replacement strings that use \, or \#, and thus have to be converted to Lisp by query-replace-compile-replacement.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defconst query-replace-eval-replacement-regexp
  "\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\\\[,#]"
  "Regexp matching a replacement string that needs to be evaluated.
This matches the replacement strings that use \\, or \\#, and thus
have to be converted to Lisp by `query-replace-compile-replacement'.")