Documentation
Regex
.
Data
.
Expr
Search
return to top
source
Imports
Init
Regex.Data.Anchor
Regex.Data.Classes
Imported by
Regex
.
Data
.
Expr
Regex
.
Data
.
instReprExpr
Regex
.
Data
.
instInhabitedExpr
source
inductive
Regex
.
Data
.
Expr
:
Type
An inductive type that represents a regular expression.
empty :
Expr
epsilon :
Expr
anchor :
Anchor
→
Expr
char :
Char
→
Expr
group :
Nat
→
Expr
→
Expr
alternate :
Expr
→
Expr
→
Expr
concat :
Expr
→
Expr
→
Expr
star :
Expr
→
Expr
classes :
Classes
→
Expr
Instances For
source
instance
Regex
.
Data
.
instReprExpr
:
Repr
Expr
Equations
Regex.Data.instReprExpr
=
{
reprPrec
:=
Regex.Data.reprExpr✝
}
source
instance
Regex
.
Data
.
instInhabitedExpr
:
Inhabited
Expr
Equations
Regex.Data.instInhabitedExpr
=
{
default
:=
Regex.Data.Expr.empty
}