diff --git a/source-map-support.js b/source-map-support.js index 6e59e74..d8be421 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -72,7 +72,7 @@ function retrieveSourceMapURL(source) { // Get the URL of the source map fileData = retrieveFile(source); - var match = /\/\/[#@]\s*sourceMappingURL=(.*)\s*$/m.exec(fileData); + var match = /\/\/[#@]\s*sourceMappingURL=([^'"]+)\s*$/m.exec(fileData); if (!match) return null; return match[1]; };