diff --git a/lib/get-info.js b/lib/get-info.js index 82a6e1e1..f1acffa6 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -703,7 +703,11 @@ var Getters = { return callback("HTTP " + status, null); } - var m = res.match(/(\[\s*\[[^\[].*?\]\s*\])/); + /* + * Match [[anything]] and ignore whitespace + * Fix 2014-08-07: [^] matches \r\n, . doesn't. + */ + var m = res.match(/(\[\s*\[[^\[][^]*?\]\s*\])/); try { var propertyList = JSON.parse(m[1]); var data = {};