← ZIO Parser docs

Compiled

zio.parser.Regex.Compiled
trait Compiled

Attributes

Source
Regex.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def test(index: Int, chars: String): Int

Tests the compiled regex against the specified character sequence. Returns the new index into the string.

Tests the compiled regex against the specified character sequence. Returns the new index into the string.

Attributes

Source
Regex.scala
def test(index: Int, chars: Chunk[Char]): Int

Tests the compiled regex against the specified character sequence. Returns the new index into the chunk.

Tests the compiled regex against the specified character sequence. Returns the new index into the chunk.

Attributes

Source
Regex.scala

Concrete methods

final def matches(value: String): Boolean

Determines if the compiled regex matches the specified string.

Determines if the compiled regex matches the specified string.

Attributes

Source
Regex.scala