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

RegExp: "Replace All" doesn't work when capturing group #291

Closed
Kder opened this issue Jan 11, 2018 · 4 comments
Closed

RegExp: "Replace All" doesn't work when capturing group #291

Kder opened this issue Jan 11, 2018 · 4 comments

Comments

@Kder
Copy link

Kder commented Jan 11, 2018

Notepad3 Version 3.18.105.802.

Test text:
abc@123
In "Replace Text" dialog (Regular expression search enabled),
Search string
(a.*)@(123)
Replace with
\2\1
after click the "Replace All" button, it says "1 occurrences of the specified text has been replaced." but nothing changed, actually.

I tried to click "Replace" button multiple times, sometimes it worked but not always succeeded.

@RaiKoHoff
Copy link
Collaborator

RaiKoHoff commented Jan 11, 2018

Hello @Kder , welcome to Notepad3's issue tracking system on GitHub.
You are right, the Relpace (Replace All, In Selection) is broken by a new feature in this version.
It has been fixed and should be working again in next release (Duplicate: #268, #271)
[Edit] If you are eager to test, just subscribe to the beta channel (#160)

@Kder
Copy link
Author

Kder commented Jan 11, 2018

@RaiKoHoff Thank you for your help 👍
I will try the beta channel :)

@rizonesoft
Copy link
Owner

@Kder Please test the new release and close this issue if it has been resolved. Thank you for testing! 😄

@Kder
Copy link
Author

Kder commented Jan 13, 2018

@rizonesoft OK, just confirmed problem solved in v.3.18.113.828. Thanks a lot!💯

@Kder Kder closed this as completed Jan 13, 2018
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

3 participants