query-replace-read-from

query-replace-read-from is a compiled Lisp function in `replace.el'.

(query-replace-read-from PROMPT REGEXP-FLAG)

Query and return the `from' argument of a query-replace operation.
The return value can also be a pair (FROM . TO) indicating that the user
wants to replace FROM with TO.