Skip to content
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

Text replacement result is wrong. #2422

Closed
www1800 opened this issue Sep 4, 2024 · 1 comment
Closed

Text replacement result is wrong. #2422

www1800 opened this issue Sep 4, 2024 · 1 comment
Milestone

Comments

@www1800
Copy link

www1800 commented Sep 4, 2024

Version: 2.16.42.1 x64

Given text:
"1A1"
"2A2"

Ctrl+H
FInd what: ("([\s\w]*)A([\s\w]*)")
Replace with: \1, "\2B\3"
Click "Match case", "Regular expression", "Whole file"
1

Click "Replace All", result is correct.
2

Click "Ok" but do NOT close the "Replace" window, just change
Find what: C
Replace with: C

Click "Replace All", result is wrong (nothing should be changed but it gets changed)
3

Thanks.

@sdottaka
Copy link
Member

sdottaka commented Sep 8, 2024

Thank you for reporting this issue. It has been resolved in 7ce3809

@sdottaka sdottaka added this to the v2.16.43 milestone Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants