diff --git a/src/yunohost/app.py b/src/yunohost/app.py index db0052281..c31a0cb30 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -58,7 +58,7 @@ re_github_repo = re.compile( ) re_app_instance_name = re.compile( - r'^(?P[\w]+?)(__(?P[1-9][0-9]*))?$' + r'^(?P[\w-]+?)(__(?P[1-9][0-9]*))?$' )