Debian Codegraph @

azure_functions_devops_build/service_endpoint/service_endpoint_utils.py

raw
1 import re
2
3 def sanitize_github_repository_fullname(github_repository_fullname):
4 sanitized_name = re.sub(r"[^A-Za-z0-9_-]|\s", "-", github_repository_fullname)
5 return sanitized_name