← ZIO Parser docs

Regex

zio.parser.Regex
See theRegex companion trait
object Regex

Attributes

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

Members list

Type members

Classlikes

trait Compiled

Attributes

Source
Regex.scala
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def char(char: Char): Regex

A regex that matches the specified character.

A regex that matches the specified character.

Attributes

Source
Regex.scala
def charIn(chars: Char*): Regex

A regex that matches one of the specified characters.

A regex that matches one of the specified characters.

Attributes

Source
Regex.scala
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

Source
Regex.scala
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

Source
Regex.scala
def string(token: String): Regex

A regex that matches the specified literal string.

A regex that matches the specified literal string.

Attributes

Source
Regex.scala

Concrete fields

final val NeedMoreInput: -2

Attributes

Source
Regex.scala
final val NotMatched: -1

Attributes

Source
Regex.scala
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

Source
Regex.scala

A regex that matches a single letter or digit character.

A regex that matches a single letter or digit character.

Attributes

Source
Regex.scala
lazy val anyChar: Regex

A regex that matches any single character.

A regex that matches any single character.

Attributes

Source
Regex.scala
lazy val anyDigit: Regex

A regex that matches any single digit character.

A regex that matches any single digit character.

Attributes

Source
Regex.scala
lazy val anyLetter: Regex

A regex that matches any single letter character.

A regex that matches any single letter character.

Attributes

Source
Regex.scala
lazy val anyWhitespace: Regex

A regex that matches any single whitespace character.

A regex that matches any single whitespace character.

Attributes

Source
Regex.scala
lazy val digits: Regex

A regex that matches one or more digit characters.

A regex that matches one or more digit characters.

Attributes

Source
Regex.scala
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

Source
Regex.scala
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

Source
Regex.scala
lazy val whitespace: Regex

A regex that matches zero or more whitespace characters.

A regex that matches zero or more whitespace characters.

Attributes

Source
Regex.scala