Subject: bug#14708: 24.2; query-replace-regexp when match and replacement are the same

From: Stefan Monnier <[email-masked]>
Date: Mon, 24 Jun 2013 21:49:38 -0400

> Since the aim of query-replace-regexp is primarily to do a search
> and replace, not to find all places in the buffer where a regexp
> matches, it should instead skip over those cases and only ask about
> places where replacing will make a difference.

I don't think the difference is very important, but I wouldn't oppose
such a change.

        Stefan