diff --git a/sky/task.py b/sky/task.py index ad3519f92e4..d66e6313f06 100644 --- a/sky/task.py +++ b/sky/task.py @@ -33,7 +33,7 @@ CommandGen = Callable[[int, List[str]], Optional[str]] CommandOrCommandGen = Union[str, CommandGen] -_VALID_NAME_REGEX = '[a-z0-9]+(?:[._-]{1,2}[a-z0-9]+)*' +_VALID_NAME_REGEX = '[a-zA-Z0-9]+(?:[._-]{1,2}[a-zA-Z0-9]+)*' _VALID_NAME_DESCR = ('ASCII characters and may contain lowercase and' ' uppercase letters, digits, underscores, periods,' ' and dashes. Must start and end with alphanumeric'