query regexp replace on M-%