MatchRegex

case class MatchRegex(regex: Regex) extends ValidationRule

Check if value match specified regex.

Value parameters:
regex

instance.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def apply(v: SimpleValue): Validated[Error, SimpleValue]
Inherited from:
ValidationRule
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

val errorReason: String
Inherited from:
ValidationRule
val name: String
Inherited from:
ValidationRule
val validator: String => Boolean
Inherited from:
ValidationRule