Added a comment and made the second test more explicit at a glance by doing `if (regex.url.test(decodeURIComponent(url)))` instead of overwriting the `url` variable (which I don't like doing anyway, hence my love of `const`).