|
|
@@ -90,7 +90,7 @@ func cutString(str string, lens int) string { |
|
|
|
|
|
|
|
func jobNamePrefixValid(s string) string { |
|
|
|
lowStr := strings.ToLower(s) |
|
|
|
re := regexp.MustCompile(`[^a-z0-9\\.\\-]+`) |
|
|
|
re := regexp.MustCompile(`[^a-z0-9_\\-]+`) |
|
|
|
return re.ReplaceAllString(lowStr, "") |
|
|
|
} |
|
|
|
|
|
|
|