Resolve missing closing parenthesis or the generic matcher.

This commit is contained in:
Xaekai 2015-02-18 18:39:40 -08:00
parent 5c6a966e6f
commit 9a1baf64b6
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ function parseMediaLink(url) {
};
}
// Generic for the rest.
if ((m = url.match(/([a-z]{2}):([^\?&#]+)/)) {
if ((m = url.match(/([a-z]{2}):([^\?&#]+)/))) {
return {
id: m[2],
type: m[1]