mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 12:21:12 +00:00
Fix 3857 name regex
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user