CharacterClassCheck

final case class CharacterClassCheck(characters: String) extends CharacterCheck

Checks if the character is of any of the provided characters.

Checks if the character is of any of the provided characters.

The string cannot be empty; therefore ']' can be allowed, provided that it is the first character. (Thus, "][!" matches the three characters '[', ']' and '!'.)

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

Value members

Concrete methods

override def check(c: Char): Boolean
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product