Closed IanButterworth closed 4 years ago
Thanks for the report! Reproduced with 1.40.1 on macOS 10.14.6 in safe mode - wonder if it's related to the parenthesis in the find text maybe since it's a non-word character? For example, I can reproduce when searching for foo-
with the content foo-x-
as well.
Just noting that after step 2:
Find in project for foo( with replace string bar(
You do see results from that search so I would expect the replace to work too I think:
As a side note, please leave the Prerequisites
section of the issue template to let us know that you've tried things like reproduction in safe mode, etc.
Great, thanks @darangi
Description
With “Find in project”, and “whole word” matching selected, a search string like "foo(", with replace string "bar(" results in the search string being used as the replace string, instead if the replace string.
Steps to Reproduce
foo(x)
to your projectfoo(
with replace stringbar(
Expected behavior:
foo(
is replaced bybar(
Actual behavior:
foo(
is replaced byfoo(
Reproduces how often:
Every time
Versions
Atom : 1.40.1 Electron: 3.1.10 Chrome : 66.0.3359.181 Node : 10.2.0
apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.40.1 python 2.7.10 git 2.21.0
MacOS 10.14.8