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

JS/TS syntax highlighting breaks with regex v mode and ? character #214090

Closed
mikestopcontinues opened this issue Jun 2, 2024 · 2 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@mikestopcontinues
Copy link

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

  • VS Code Version: 1.89.1
  • OS Version: OSX 14.5

Steps to Reproduce:

Syntax highlighting breaks in (at least) three ways:

  • Named capture groups: /(?<name>http)/v
  • Greedy quantifier: /https?/v

Here's small demos. It breaks much worse than shown...

CleanShot 2024-06-02 at 14 45 45@2x

CleanShot 2024-06-02 at 14 45 58@2x

@RedCMD
Copy link
Contributor

RedCMD commented Jun 2, 2024

@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) upstream-issue-linked This is an upstream issue that has been reported upstream labels Jun 3, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 18, 2024
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) upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

4 participants