ValidationBuilder

A builder for creating PersonNameRules.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds the validation rule.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setRegex(regex: String, errorMsg: String = RegexValidator.DEFAULT_ERROR_MSG): PersonNameRule.ValidationBuilder

Sets the regex for validation.