Previous regexp was done on the complete url and not the path name. In the case of a domain with tld .shop, it didn't work. This commit closes #14756
ec27773