//
pkg.gl
Category
github.com/cube-group/golib
validator
package
1.0.1
Repository:
https://github.com/cube-group/golib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
76 SLOC
#
Functions
FindConsecutiveChinese
查找连续的汉字.
FindConsecutiveLowerLetters
查找连续的小写字母.
FindConsecutiveNoAscii
查找连续的非 ASCII 字符.
FindConsecutiveNoChinese
查找连续的非汉字字符.
FindConsecutiveNoLowerLetters
查找连续的非小写字母.
FindConsecutiveNoPunctuation
查找连续的非标点符号字符.
FindConsecutivePunctuation
查找连续的标点符号.
FindConsecutiveUpperLetters
查找连续的大写字母.
FindMulString
查找 Hello 或 Go.
FindStartEndWith
查找行首以 H 开头,以空格结尾的字符串.
FindWords
查找连续的单词字母.
IsEmail
email verify.
IsIp
ip verify.
IsPhone
mobile verify.
IsUrl
url verify.