{"comment":{"position":24,"created_at":"2011-10-20T18:47:40Z","body":"Instead of going through this complex regular expression, which might miss multiple URLs on the same line, it would be better to examine each of the value parts. The value.parts array has each part of the value, and you can iterate over those parts and check the type property to see if it's a URI. For example:\n\n    if (value.parts[i].type == \"uri\") {\n       actualUri = value.parts[i].uri;\n    }\n\nAll of the URL parsing is already done for you, you just need to grab the info.","line":24,"commit_id":"20eab4736963ecd9c90119a8bd4dd2eab915795d","updated_at":"2011-10-20T18:47:40Z","url":"https://api.github.com/repos/hpbuniat/csslint/comments/664751","id":664751,"path":"src/rules/duplicate-background-url.js","user":{"gravatar_id":"b605f11383e1ec18717bca5a5c36ee15","avatar_url":"https://secure.gravatar.com/avatar/b605f11383e1ec18717bca5a5c36ee15?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/nzakas","id":38546,"login":"nzakas"}},"legacy":{"commit":"20eab4736963ecd9c90119a8bd4dd2eab915795d","comment_id":664751}}