buggrammarshelp wantedtypescript
Repository metrics
- Stars
- (14,836 stars)
- PR merge metrics
- (Avg merge 6h 26m) (15 merged PRs in 30d)
Description
Extracted from https://github.com/microsoft/TypeScript-Website/issues/1870
const x = true ? /^([^"]*)"/ : /^([^']*)'/
/^([^"]*)"/ is not identified as a regex by the TS Monarch grammar, which breaks bracket matching:
