Skip to content

Commit

Permalink
Update indentation style
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Nov 11, 2024
1 parent 289ac09 commit 0966bc3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/core/kaleidoscope.Regex.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 0966bc3

Please sign in to comment.