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 : ExtendedKind
 - Extended : ExtendedKind
 - ExtendedMore : ExtendedKind
 
Instances For
Equations
Equations
- Regex.Grammar.instBEqExtendedKind.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
 
Instances For
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
Equations
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 : ExtendedKind := 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.