const teamNameRegex = useMemo(() => {
        if (allowSpecialNames) {
            return null;
        }