RegexConfig class
Constructors
- RegexConfig()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tbStringCheckRegex(
String str, {String rex = REGEX_MOBILE_EXACT}) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → RegexConfig
-
no setter
Constants
- DAY → const int
- GB → const int
- HOUR → const int
- JITTER_SPACING_TIME → const int
- KB → const int
- MB → const int
- MIN → const int
- MOBILE_PHONE_NUMBER_LENGHT → const int
- ORDER_ASC → const String
- ORDER_DESC → const String
- PAGE_SIZE → const int
- PASSREGEX → const String
- 6 到16位包含数字和字母
- REGEX_BLANK_LINE → const String
- 正则:空白行
- REGEX_DATE → const String
- 正则:yyyy-MM-dd格式的日期校验,已考虑平闰年
- REGEX_DOUBLE_BYTE_CHAR → const String
- 正则:双字节字符(包括汉字在内)
- REGEX_EMAIL → const String
- 正则:邮箱
- REGEX_ID_CARD15 → const String
- 正则:身份证号码15位
- REGEX_ID_CARD18 → const String
- 正则:身份证号码18位
- REGEX_INTEGER → const String
- 正则:整数
- REGEX_IP → const String
- 正则:IP地址
- REGEX_MOBILE_EXACT → const String
- 正则:手机号(精确)
- REGEX_MOBILE_SIMPLE → const String
- REGEX_NEGATIVE_FLOAT → const String
- 正则:负浮点数
- REGEX_NEGATIVE_INTEGER → const String
- 正则:负整数
- REGEX_NOT_NEGATIVE_INTEGER → const String
- 正则:非负整数(正整数 + 0)
- REGEX_NOT_NUMBER_START → const String
- 正则:不能以数字开头
- REGEX_NOT_POSITIVE_INTEGER → const String
- 正则:非正整数(负整数 + 0)
- REGEX_POSITIVE_FLOAT → const String
- 正则:正浮点数
- REGEX_POSITIVE_INTEGER → const String
- 正则:正整数
- REGEX_PRICE → const String
- 正则:价格 price
- REGEX_TEL → const String
- 正则:电话号码
- REGEX_TENCENT_NUM → const String
- 正则:QQ号
- REGEX_URL → const String
- 正则:URL
- REGEX_USERNAME → const String
- 正则:用户名,不能以数字开头,不能有emoji
- REGEX_ZH → const String
- 正则:汉字
- REGEX_ZH_ → const String
- 正则:汉字
- REGEX_ZIP_CODE → const String
- 正则:中国邮政编码
- SEARCH_JITTER_SPACING_TIME → const int
- SEC → const int
- SPLIT_SMBOL → const String