Added anchor to getPrettyDomain regex - vastly improves performance on data urls