Fix domain regex to run quickly in chrome