Move regex compilation to global variable

This commit is contained in:
Seednode 2024-01-10 13:07:50 -06:00
parent 9e458aa0bb
commit ebb5e48d9a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import (
const ( const (
AllowedCharacters string = `^[A-z0-9.\-_]+$` AllowedCharacters string = `^[A-z0-9.\-_]+$`
ReleaseVersion string = "5.0.3" ReleaseVersion string = "5.0.4"
) )
var ( var (