From 0966bc36795d9c6f908291774fa5201860c9709e Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Mon, 11 Nov 2024 11:30:57 +0100 Subject: [PATCH] Update indentation style --- src/core/kaleidoscope.Regex.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/core/kaleidoscope.Regex.scala b/src/core/kaleidoscope.Regex.scala index e4c835f..eed668b 100644 --- a/src/core/kaleidoscope.Regex.scala +++ b/src/core/kaleidoscope.Regex.scala @@ -56,13 +56,13 @@ object Regex: def unitary: Boolean = this == Exactly(1) case class Group - (start: Int, - end: Int, - outerEnd: Int, - groups: List[Group] = Nil, - quantifier: Quantifier = Quantifier.Exactly(1), - greed: Greed = Greed.Greedy, - capture: Boolean = false): + (start: Int, + end: Int, + outerEnd: Int, + groups: List[Group] = Nil, + quantifier: Quantifier = Quantifier.Exactly(1), + greed: Greed = Greed.Greedy, + capture: Boolean = false): def outerStart: Int = (start - 1).max(0) def allGroups: List[Regex.Group] = groups.flatMap { group => group :: group.allGroups }