We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 490eb8c commit f7ad4a3Copy full SHA for f7ad4a3
lib/runtime/parseJson.ts
@@ -1,4 +1,4 @@
1
-const rxParseJson = /position\s(\d+)$/
+const rxParseJson = /position\s(\d+)(?: \(line \d+ column \d+\))?$/
2
3
export function parseJson(s: string, pos: number): unknown {
4
let endPos: number | undefined
0 commit comments