MatchRegex

uk.gov.hmrc.apiplatform.modules.submissions.domain.models.TextValidation.MatchRegex
case class MatchRegex(regex: String) extends TextValidation

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def isValid(text: String): Boolean

Attributes

Inherited from:
TextValidation
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def validate(text: String): Either[String, String]

Attributes

Inherited from:
TextValidation