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

[CLOSED] Find in Files treats \n, \r, etc. as regular expressions #966

Open
core-ai-bot opened this issue Aug 29, 2021 · 1 comment
Open

Comments

@core-ai-bot
Copy link
Member

Issue by peterflynn
Thursday May 31, 2012 at 22:28 GMT
Originally opened as adobe/brackets#971


  1. Use Find in Files to search for the string \n

Result: Brackets hangs for a while, then produces 100,000+ search results (one for every line of code).

Expected: only files that contain the string "\n". (The search query is only supposed to get interpreted as a regexp if it's wrapped like /\n/).

Looks like a straightforward missed case in the escaping done by FindInFiles._getQueryRegExp().

@core-ai-bot
Copy link
Member Author

Comment by pthiess
Wednesday Jun 06, 2012 at 23:37 GMT


Experimental feature, setting priority to low.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant