function hasCountryCode()

in extension.ts [201:205]


function hasCountryCode(linkToCheck: string): boolean {
    //Regex for country-code
    let hasCountryCode = linkToCheck.match(/(.com|aka\.ms)\/[a-z]{2}\-[a-z]{2}\//);
    return hasCountryCode ? true : false;
}