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

Incorrect search results after applying a multiline search and replace #69082

Closed
gregvanl opened this issue Feb 20, 2019 · 2 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug search Search widget and operation issues verified Verification succeeded
Milestone

Comments

@gregvanl
Copy link

gregvanl commented Feb 20, 2019

  • VSCode Version: 1.31.1
  • OS Version: Windows

Steps to Reproduce:

  1. Open the visualstudio-docs repo at the docs/vsto folder.
  2. Try the multiline search:
(- \[(.)*)
*\s?[^-]*\s?[^-]*\[

replacing with

$1
- [

Should see 32 results in 27 files.

  1. Replace All and run the search again.

There are now 2 results in 11 files.

  1. Try to open one of the Search result files which didn't have a match.

The search results twisty changes but no file or results opens

@vscodebot vscodebot bot added the search Search widget and operation issues label Feb 20, 2019
@gewarren
Copy link

Thanks for logging it Greg!

@gewarren
Copy link

Note that the search is a RegEx search.

@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Feb 22, 2019
@roblourens roblourens added this to the February 2019 milestone Feb 22, 2019
@gregvanl gregvanl added the verified Verification succeeded label Feb 26, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug search Search widget and operation issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants