-
-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
Description
The following piece of code is valid but it is parsed incorrectly:
String.raw`C:\Users`Here's a link to the TypeScript Playground showing that the snippet above is valid JavaScript or TypeScript:
The output of tree-sitter parse is the following:
\U is parsed as an escape sequence
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/raw