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

Regex highlighting bug #737

Closed
the-ress opened this issue Apr 4, 2019 · 0 comments
Closed

Regex highlighting bug #737

the-ress opened this issue Apr 4, 2019 · 0 comments

Comments

@the-ress
Copy link

the-ress commented Apr 4, 2019

TS and JS Grammar Extension version: 0.0.50 / latest

Code

function foo() {
    return /(?:(Z))?/
}

export const bar = true

Result: The regex isn't highlighted properly and it also breaks the rest of the file.

image

Extension version: 0.0.50
VS Code version: Code - Insiders 1.33.0-insider (4d1cb56a5b88248b1e0f38b9980f4a1bc8a6fb1a, 2019-04-03T08:14:19.284Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.87GB (0.65GB free)
Process Argv
Screen Reader no
VM 0%
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