Fix 3857 name regex

pull/4420/head
chouseknecht 2016-06-03 07:53:55 -04:00 committed by Matt Clay
parent 9549c66a56
commit 950931144f
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ except ImportError:
pass
NAME_PATTERN = re.compile(r"^[a-zA-Z0-9_]{1,61}[a-z0-9_]$")
NAME_PATTERN = re.compile(r"^[a-zA-Z0-9]+[a-zA-Z0-9\._-]+[a-zA-Z0-9_]+$")
def virtual_network_to_dict(vnet):