Open ghost opened 5 years ago
@elalgarro commented on Dec 20, 2018, 9:33 PM UTC:
upon closer inspection i had a typo in my regex search that is causing the error i think ^(?=._\projectsusers\b)(?=.\bactive\b).*$
note the missing \b before projects_users
Thanks for the report! Can you confirm if the error is reproducible in safe mode (atom --safe
)? Also, does it matter what project you're working on or can you reproduce with a project with no files and you're working on a new empty file?
yes to both,
Safe Mode
a. loaded project from console atom project_path --safe
b. global regex searched ^(?=.\projects_users\b)(?=.\bactive\b).*$
c. clicked on file, started typing.
d. atom bug appears on key press Uncaught Error: unknown property name after \P or \p
New Project
a. touch ~/Desktop/test_error/test_error.txt
b.atom ~/Desktop/test_error/ --safe
c. shift+cmd+f ^(?=.\projects_users\b)(?=.\bactive\b).*$
d. click on test_error.txt in file browser
e. on keypress in file Uncaught Error: unknown property name after \P or \p
Thanks @elalgarro :+1: I can reproduce on macOS 10.12.6 with 1.33.1, went ahead and updated the issue body.
Edit by @rsese to add more detailed repro steps from https://github.com/atom/find-and-replace/issues/1062#issuecomment-450413011
a.
mkdir test; touch ./test/test_error.txt
b.atom ./test --safe
c.Project Find: Show
d. Enable regex search d. Run this search:^(?=.\projects_users\b)(?=.\bactive\b).*$
d. Click on test_error.txt in tree view e. Type in the fileExpect no errors, actual is you see the
Uncaught Error: unknown property name after \P or \p
error on each keypress, see stack below.Reproduced on macOS 10.12.6 with Atom 1.33.1.
@elalgarro commented on Dec 20, 2018, 9:28 PM UTC:
[Enter steps to reproduce:]
Atom: 1.33.1 x64 Electron: 2.0.16 OS: Mac OS X 10.12.6 Thrown From: Atom Core
Stack Trace
Uncaught Error: unknown property name after \P or \p
Commands
Non-Core Packages
This issue was moved by rsese from atom/atom#18609.