diff --git a/lib/reporter.js b/lib/reporter.js index ebf6dc207..e0c5fb65f 100644 --- a/lib/reporter.js +++ b/lib/reporter.js @@ -21,7 +21,7 @@ var createErrorFormatter = function (basePath, emitter, SourceMapConsumer) { return null } - var URL_REGEXP = new RegExp('http:\\/\\/[^\\/]*\\/' + + var URL_REGEXP = new RegExp('\\/' + '(base|absolute)' + // prefix '((?:[A-z]\\:)?[^\\?\\s\\:]*)' + // path '(\\?\\w*)?' + // sha