C-h h!
It happens quite often to me that I try to C-M-% a text. Thus I use query-replace-regexp interactively. So I enter the search regex and Emacs asks meekly for the replacement text, when in fact my search regex does not match any text!
Ideally, I would like to be signaled as soon as possible that my regex does not match.
Is there a way out of this?