diff --git a/pierone/validators.py b/pierone/validators.py index b8eaae9..e2c1bb0 100644 --- a/pierone/validators.py +++ b/pierone/validators.py @@ -8,7 +8,7 @@ INCIDENT_PATTERN = re.compile(r'^INC-\d+$') -TEAM_PATTERN_STR = r'[a-z][a-z0-9-]+' +TEAM_PATTERN_STR = r'[a-z][a-z0-9_-]+' TEAM_PATTERN = re.compile(r'^{}$'.format(TEAM_PATTERN_STR))