Fix the regexes that were broken since https support was added in the regexes.