Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val NAME_REGEX: String

Regex for names

Link copied to clipboard

Regex of blank line.

Link copied to clipboard
const val REGEX_DATE: String

Regex of date which pattern is "yyyy-MM-dd".

Link copied to clipboard

Regex of double-byte characters.

Link copied to clipboard
const val REGEX_EMAIL: String

Regex of email.

Link copied to clipboard

Regex of id card number which length is 15.

Link copied to clipboard

Regex of id card number which length is 18.

Link copied to clipboard

Regex of integer.

Link copied to clipboard
const val REGEX_IP: String

Regex of ip address.

Link copied to clipboard

Regex of exact mobile.

Link copied to clipboard

Regex of simple mobile.

Link copied to clipboard

Regex of negative float.

Link copied to clipboard

Regex of negative integer.

Link copied to clipboard

Regex of non-negative integer.

Link copied to clipboard

Regex of non-positive integer.

Link copied to clipboard

Regex of positive float.

Link copied to clipboard

Regex of positive integer.

Link copied to clipboard
const val REGEX_QQ_NUM: String

Regex of QQ number.

Link copied to clipboard
const val REGEX_TEL: String

Regex of telephone number.

Link copied to clipboard
const val REGEX_URL: String

Regex of url.

Link copied to clipboard

Regex of username.

Link copied to clipboard
const val REGEX_ZH: String

Regex of Chinese character.

Functions

Link copied to clipboard

Return whether input matches the regex.