This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Searches using regular expressions and look ahead/behind do not update correctly #1148
Open
1 task done
Prerequisites
Description
The results of find-and-replace usually update when the file is changed. However, this does not work as expected when using regular expressions with look-ahead/-behind.
Steps to Reproduce
bdb ada adb ada adb
.(?<=a)d(?=a)
to find the characterd
surrounded bya
s.d
s or change the surrounding such that it is not matched any more.Expected behavior:
During editing, the matches should update automatically and correctly.
Actual behavior:
During editing, the matches do not update correctly. Here is an example:
example.mov
Reproduces how often:
Always, but with different behaviour.
Versions
macOS Catalina 10.15.7
Atom : 1.55.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.55.0
python 3.8.6
git 2.24.3
Additional Information
Even, if one clicks search again, it does not update correctly. But if one changes the search term, e.g. remove the last
)
and add it back, then it finds the occurrences correctly again.The text was updated successfully, but these errors were encountered: