replacing: don't go outside of the selected region
When the tail of a match falls outside of the marked region, it is in fact not a match and should not be replaced. This fixes https://savannah.gnu.org/bugs/?50136.
Showing
+1 -1
Please register or sign in to comment