parent
55e97596d3
commit
ddf70953fe
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ func Clamp(val, min, max int) int {
|
|||
}
|
||||
|
||||
func IsNonAlphaNumeric(c rune) bool {
|
||||
return !unicode.IsLetter(c) && !unicode.IsNumber(c)
|
||||
return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '_'
|
||||
}
|
||||
|
||||
func ParseSpecial(s string) string {
|
||||
|
|
Loading…
Reference in a new issue