Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
def
Regex.Syntax.Parser.applyRepetitions
(min : Nat)
(max : Option Nat)
(greedy : Bool)
(e : Data.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
- Regex.Syntax.Parser.applyRepetitions 0 (some 1) greedy e = if greedy = true then e.alternate Regex.Data.Expr.epsilon else Regex.Data.Expr.epsilon.alternate e
- Regex.Syntax.Parser.applyRepetitions 0 none greedy e = Regex.Data.Expr.star greedy e
- Regex.Syntax.Parser.applyRepetitions 1 none greedy e = e.concat (Regex.Data.Expr.star greedy e)
- Regex.Syntax.Parser.applyRepetitions min none greedy e = (Regex.Syntax.Parser.repeatConcat e min).concat (Regex.Data.Expr.star greedy e)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Regex.Syntax.Parser.Ast.toRegexAux state Regex.Syntax.Parser.Ast.empty = (state, Regex.Data.Expr.empty)
- Regex.Syntax.Parser.Ast.toRegexAux state Regex.Syntax.Parser.Ast.epsilon = (state, Regex.Data.Expr.epsilon)
- Regex.Syntax.Parser.Ast.toRegexAux state (Regex.Syntax.Parser.Ast.anchor a) = (state, Regex.Data.Expr.anchor a)
- Regex.Syntax.Parser.Ast.toRegexAux state (Regex.Syntax.Parser.Ast.classes a) = (state, Regex.Data.Expr.classes a)
- Regex.Syntax.Parser.Ast.toRegexAux state (Regex.Syntax.Parser.Ast.perl a) = (state, Regex.Data.Expr.classes (Regex.Data.Classes.atom (Regex.Data.Class.perl a)))
- Regex.Syntax.Parser.Ast.toRegexAux state (Regex.Syntax.Parser.Ast.flags a) = ({ index := state.index, caseInsensitive := a }, Regex.Data.Expr.epsilon)