StringRegexExten extension

on

Methods

isAccount({AccountRegex regex = AccountRegex.def, int min = 6, dynamic max = 18}) bool

Available on String?, provided by the StringRegexExten extension

是否匹配用户名 min 最小位数,max最长位数
isChar() bool

Available on String?, provided by the StringRegexExten extension

检查字符串是否只包含字母。(没有空格)
isEmail() bool

Available on String?, provided by the StringRegexExten extension

是否匹配电子邮件
isIDCard() bool

Available on String?, provided by the StringRegexExten extension

是否匹配身份证号码
isIP() bool

Available on String?, provided by the StringRegexExten extension

是否匹配ip地址
isMobileExact() bool

Available on String?, provided by the StringRegexExten extension

是否是手机号,精确验证
isMobileSimple() bool

Available on String?, provided by the StringRegexExten extension

是否手机号,只判断11位数字
isNumber(String s) bool

Available on String?, provided by the StringRegexExten extension

只有数值不接受double数据类型的
isQQ() bool

Available on String?, provided by the StringRegexExten extension

是否匹配QQ
isTel() bool

Available on String?, provided by the StringRegexExten extension

是否匹配电话号码
isURL() bool

Available on String?, provided by the StringRegexExten extension

是否匹配url
isZh() bool

Available on String?, provided by the StringRegexExten extension

是否汉字