Fix regex to not break IDN support where multiple dashes are legitimate because of xn--foo format.