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

replace by regular expression failed #213048

Open
he-johnson opened this issue May 20, 2024 · 4 comments
Open

replace by regular expression failed #213048

he-johnson opened this issue May 20, 2024 · 4 comments
Assignees
Labels
editor-find Editor find operations polish Cleanup and polish issue

Comments

@he-johnson
Copy link

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.85.1
  • OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

  1. open a directory
  2. open a *.c file in the directory
  3. press Ctrl + H to open a replace dialog
  4. paste "/*([^*]|*+[^/])**/" into the find editor
  5. then vscode will not respond to mouse click or keyboard press any more
@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@ArturoDent
Copy link

That is an invalid regex, but that shouldn't cause vscode to freeze. A gif would probably be helpful. And does it still happen with all extensions disabled?

@rebornix rebornix added polish Cleanup and polish issue editor-find Editor find operations labels May 22, 2024
@he-johnson
Copy link
Author

image

@he-johnson
Copy link
Author

when I paste "/*([^*]|*+[^/])**/" on the find editor, the fault dialog pop up again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-find Editor find operations polish Cleanup and polish issue
Projects
None yet
Development

No branches or pull requests

4 participants