Pattern

The element must match the regular expression. Supported types:

  • String

Constructors

Pattern
Link copied to clipboard
fun Pattern(regexp: String, message: String = "", flags: Array<Pattern.Flag> = emptyArray())

Types

Flag
Link copied to clipboard
enum Flag : Enum<Pattern.Flag>
Possible Regexp flags
List
Link copied to clipboard
Defines multiple Pattern annotations on a single element.

Properties

flags
Link copied to clipboard
val flags: Array<Pattern.Flag>
message
Link copied to clipboard
val message: String
regexp
Link copied to clipboard
val regexp: String