提交 df479d0a 编写于 作者: B Benjamin Pasero

False positive in file path pattern matching in Output Channel (fixes #232)

上级 300756f3
......@@ -100,11 +100,11 @@ export class ReplExpressionsRenderer implements tree.IRenderer {
private static FILE_LOCATION_PATTERNS:RegExp[] = [
// group 0: the full thing :)
// group 1: absolute path
// group 2: drive letter on windows or leading slash
// group 2: drive letter on windows with trailing backslash or leading slash on mac/linux
// group 3: line number
// group 4: column number
// eg: at Context.<anonymous> (c:\Users\someone\Desktop\mocha-runner\test\test.js:26:11)
/((\/|[a-zA-Z]:)[^\(\)<>\'\"\[\]]+):(\d+):(\d+)/
/((\/|[a-zA-Z]:\\)[^\(\)<>\'\"\[\]]+):(\d+):(\d+)/
]
constructor(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册