package
0.4.1
Repository: https://github.com/thinkgos/x.git
Documentation: pkg.go.dev

# Functions

HasWhitespace 是否含有空白字符.
IsAlphaNumeric 是否字母或数字.
IsChinese 字符串是否全部中文.
IsChineseName 字符串是否中文名.
IsEmail validates string is an email address, if not return false basically validation can match 99% cases.
IsEmailRFC validates string is an email address, if not return false this validation omits RFC 2822.
IsHexColor 检查是否十六进制颜色,并返回带"#"的修正值.
IsRGBColor 是否是rgb颜色格式 rgb(0,31, 255).
IsURL validates string is a url link, if not return false simple validation can match 99% cases.
IsWhitespaces 是否全部空白字符,不包括空字符串.
IsWord 是否词语(不以下划线开头的中文、英文、数字、下划线、空格).

# Variables

全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.
全局预编译regex.