You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
find and replace ignores "Only search for whole words" when doing "Replace all occurences". Only the correct occurences are highlighted and if I replace them one by one then all is fine. The problem is just with "Replace all occurences".
What steps reproduce the problem?
Write in a new file
aaa
aaa2
Open find and replace. Write aaa in the find line. Write aaa3 in the replace line.
Check "Only search for whole words". Only aaa is highlighted.
Press "Replace all occurences".
What is the expected output? What do you see instead?
Expected:
aaa3
aaa2
I get
aaa3
aaa32
Versions
Spyder version: 5.4.1 (although I'm quite sure it was 5.3.x before updating as requested in the issue guidelines)
Python version: 3.10.8 64-bit
Qt version: 5.15.6
PyQt version: 5.15.7
Operating System name/version: Linux 5.4.0-137-generic
Hey @yuvalwas, thanks for reporting and for the detailed instructions to reproduce this problem. I can confirm it and we'll try to fix it in a future release.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
find and replace ignores "Only search for whole words" when doing "Replace all occurences". Only the correct occurences are highlighted and if I replace them one by one then all is fine. The problem is just with "Replace all occurences".
What steps reproduce the problem?
aaa
in the find line. Writeaaa3
in the replace line.aaa
is highlighted.What is the expected output? What do you see instead?
Expected:
I get
Versions
Dependencies
The text was updated successfully, but these errors were encountered: