Parse a regular expressions into a Lean.Syntax
tree according to the Syntax.Flavor
.
https://www.pcre.org/current/doc/html/pcre2pattern.html#internaloptions
- None: Regex.Grammar.ExtendedKind
- Extended: Regex.Grammar.ExtendedKind
- ExtendedMore: Regex.Grammar.ExtendedKind
Instances For
Equations
Equations
- Regex.Grammar.instReprExtendedKind = { reprPrec := Regex.Grammar.reprExtendedKind✝ }
Equations
- Regex.Grammar.instInhabitedParser = { default := { extended := Regex.Grammar.ExtendedKind.None } }
@[reducible, inline]
Equations
Instances For
def
Regex.Grammar.parse
(s : String)
(flavor : Syntax.Flavor)
(extended : Regex.Grammar.ExtendedKind := Regex.Grammar.ExtendedKind.None)
:
Except String (Lean.TSyntax `sequence)
Parse a PCRE2 regular expressions into a Lean.Syntax
tree.
Equations
- One or more equations did not get rendered due to their size.