code: function(string) {
              var match = string.match(/<meta[^>]*http-equiv\s*=\s*["']?refresh["']?[^>]*content\s*=\s*["'] ?[^"'>]*url=([^"'>]*)["']?[^>]*>/i);
              return Array.isArray(match) ? [match[1]] : undefined;
          }
docs: Find resources in <meta> redirects. We need to wrap these RegExp's in functions because we only want to return the first capture group, not the entire match. And we need two RegExp's because the necessary attributes on the <meta> tag can appear in any order