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

Newline in Files search Regex not working #21041

Closed
rnemec opened this issue Feb 22, 2017 · 1 comment
Closed

Newline in Files search Regex not working #21041

rnemec opened this issue Feb 22, 2017 · 1 comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@rnemec
Copy link

rnemec commented Feb 22, 2017

  • VSCode Version: 1.9.1
  • OS Version: Mac OS 10.11.6

Steps to Reproduce:

  1. Go to the Search sidebar
  2. Turn on Regex
  3. Search for something like "module.exports.(.*);" (without the quotes) - that works OK
  4. Change that to "module.exports.(.*);\n" - still works OK
  5. Change that to "module.exports.(.*);\nfunction" - does only find in the open files.
  6. Note that in the editor search/replace (CMD-F), it works perfect (both search and replace too)

To make things even worse, when the search sidebar finds something using a regex with newline, if you try to use Replace, the sidebar UI gets completely screwed.

@rnemec rnemec changed the title Newline in Files search Regexnot working Newline in Files search Regex not working Feb 22, 2017
@roblourens
Copy link
Member

This isn't supported yet - #15727

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 22, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants