allow period for the alias regex

This commit is contained in:
Carlosokumu 2025-01-21 13:15:53 +03:00
parent 26b53c79df
commit 3e859d3469
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -5,7 +5,7 @@ import (
) )
const ( const (
aliasRegex = `^[a-zA-Z0-9.]+$` aliasRegex = `^[a-zA-Z0-9]+(\.[a-zA-Z0.9]+)*$`
) )
// IsValidAlias checks if the alias is a valid alias format // IsValidAlias checks if the alias is a valid alias format