Turns out my domain regex was terrible. This one is less so.