← ZIO Parser docs

MatchRegex

zio.parser.internal.stacksafe.ParserOp.MatchRegex
final case class MatchRegex(regex: Compiled, pushAs: RegexResultPush, failAs: Option[Any]) extends ParserOp

Match a compiled regex on the input, and push a result with the given strategy or failure on the result stack

Attributes

Source
ParserOp.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserOp
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
ParserOp.scala