So, I have the following buffer:
1234
Red
blue
green
yellow
# colors
orange
Now, if I run M-x replace-regexp
I get odd results. If I have the search string: ^\(.+\)$
and the replacement string: example string:\1
I get the following output:
example string:1234
Example String:Red
example string:blue
example string:green
example string:yellow
example string:# colors
example string:orange
As can be seen, I get Example String:Red
instead of the expected example string:Red
. What's the deal with this behavior?