regex

val regex: String? = null

Optional regular expression that needs to be matched to accept values. Expected format: /some_reg_ex/g, with optional "i" flag.