RegexConstants

object RegexConstants
author: Blankj
blog  : http://blankj.com
time  : 2017/03/13
desc  : The constants of regex.
*

Properties

REGEX_BLANK_LINE
Link copied to clipboard
const val REGEX_BLANK_LINE: String
Regex of blank line.
REGEX_CHINA_POSTAL_CODE
Link copied to clipboard
const val REGEX_CHINA_POSTAL_CODE: String
Regex of postal code in China.
REGEX_DATE
Link copied to clipboard
const val REGEX_DATE: String
Regex of date which pattern is "yyyy-MM-dd".
REGEX_DOUBLE_BYTE_CHAR
Link copied to clipboard
const val REGEX_DOUBLE_BYTE_CHAR: String
Regex of double-byte characters.
REGEX_EMAIL
Link copied to clipboard
const val REGEX_EMAIL: String
Regex of email.
REGEX_ID_CARD15
Link copied to clipboard
const val REGEX_ID_CARD15: String
Regex of id card number which length is 15.
REGEX_ID_CARD18
Link copied to clipboard
const val REGEX_ID_CARD18: String
Regex of id card number which length is 18.
REGEX_INTEGER
Link copied to clipboard
const val REGEX_INTEGER: String
Regex of integer.
REGEX_IP
Link copied to clipboard
const val REGEX_IP: String
Regex of ip address.
REGEX_MOBILE_EXACT
Link copied to clipboard
const val REGEX_MOBILE_EXACT: String
Regex of exact mobile.
REGEX_MOBILE_SIMPLE
Link copied to clipboard
const val REGEX_MOBILE_SIMPLE: String
Regex of simple mobile.
REGEX_NEGATIVE_FLOAT
Link copied to clipboard
const val REGEX_NEGATIVE_FLOAT: String
Regex of negative float.
REGEX_NEGATIVE_INTEGER
Link copied to clipboard
const val REGEX_NEGATIVE_INTEGER: String
Regex of negative integer.
REGEX_NOT_NEGATIVE_INTEGER
Link copied to clipboard
const val REGEX_NOT_NEGATIVE_INTEGER: String
Regex of non-negative integer.
REGEX_NOT_POSITIVE_INTEGER
Link copied to clipboard
const val REGEX_NOT_POSITIVE_INTEGER: String
Regex of non-positive integer.
REGEX_POSITIVE_FLOAT
Link copied to clipboard
const val REGEX_POSITIVE_FLOAT: String
Regex of positive float.
REGEX_POSITIVE_INTEGER
Link copied to clipboard
const val REGEX_POSITIVE_INTEGER: String
Regex of positive integer.
REGEX_QQ_NUM
Link copied to clipboard
const val REGEX_QQ_NUM: String
Regex of QQ number.
REGEX_TEL
Link copied to clipboard
const val REGEX_TEL: String
Regex of telephone number.
REGEX_URL
Link copied to clipboard
const val REGEX_URL: String
Regex of url.
REGEX_USERNAME
Link copied to clipboard
const val REGEX_USERNAME: String
Regex of username.
REGEX_ZH
Link copied to clipboard
const val REGEX_ZH: String
Regex of Chinese character.