Regex

zio.parser.Regex
See theRegex companion trait
object Regex

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Regex.type

Members list

Type members

Classlikes

trait Compiled

Attributes

Supertypes
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def char(char: Char): Regex

A regex that matches the specified character.

A regex that matches the specified character.

Attributes

def charIn(chars: Char*): Regex

A regex that matches one of the specified characters.

A regex that matches one of the specified characters.

Attributes

def charNotIn(chars: Char*): Regex

A regex that matches any character except of the specified ones

A regex that matches any character except of the specified ones

Attributes

def filter(p: Char => Boolean): Regex

A regex that matches any single character for which the specified predicate returns true.

A regex that matches any single character for which the specified predicate returns true.

Attributes

def string(token: String): Regex

A regex that matches the specified literal string.

A regex that matches the specified literal string.

Attributes

Concrete fields

final val NeedMoreInput: -2
final val NotMatched: -1
lazy val alphaNumerics: Regex

A regex that matches at least one letter or digit character.

A regex that matches at least one letter or digit character.

Attributes

A regex that matches a single letter or digit character.

A regex that matches a single letter or digit character.

Attributes

lazy val anyChar: Regex

A regex that matches any single character.

A regex that matches any single character.

Attributes

lazy val anyDigit: Regex

A regex that matches any single digit character.

A regex that matches any single digit character.

Attributes

lazy val anyLetter: Regex

A regex that matches any single letter character.

A regex that matches any single letter character.

Attributes

lazy val anyWhitespace: Regex

A regex that matches any single whitespace character.

A regex that matches any single whitespace character.

Attributes

lazy val digits: Regex

A regex that matches one or more digit characters.

A regex that matches one or more digit characters.

Attributes

val empty: Regex

A regex that matches the empty string, which will always succeed.

A regex that matches the empty string, which will always succeed.

Attributes

lazy val letters: Regex

A regex that matches any one or more letter characters.

A regex that matches any one or more letter characters.

Attributes

lazy val whitespace: Regex

A regex that matches zero or more whitespace characters.

A regex that matches zero or more whitespace characters.

Attributes