-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace regex within visual-box \%V is not working #848
Comments
I think I see the issue. We use the presence of Lines 110 to 120 in 1bd3bc2
Then, since we have a multi-line replace, we loop through the other lines in the selection, re-using the regex provided. Unfortunately, at that point we've already removed the Lines 54 to 59 in 1bd3bc2
So the solution would be to remove the Line 111 in 1bd3bc2
|
I should be able to fix this sometime this weekend. Sorry it took me a month before I found the time to look at this issue. |
As I tried to use that feature, only first line in the box was properly replaced only within the box.
In all the other lines a-l-l the instances of the word-to-replace were changed (not only in the box)
%V to search within visually-selected area only
regex used for example: s/%Vphy/dhy/g - both with g and without g did not work as expected from gvim-like behavior.
The text was updated successfully, but these errors were encountered: