Skip to content

Commit

Permalink
Removed most long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 24, 2025
1 parent 484ce45 commit 789118d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/kaleidoscope.Regex.scala
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ case class Regex(pattern: Text, groups: List[Regex.Group]):

def matches(text: Text)(using Matching): Boolean = !matchGroups(text).isEmpty

def matchGroups(text: Text)(using matching: Matching): Option[IArray[List[Text] | Optional[Text]]] =
def matchGroups(text: Text)(using matching: Matching)
: Option[IArray[List[Text] | Optional[Text]]] =

val matcher: jur.Matcher = javaPattern.matcher(text.s).nn

Expand Down

0 comments on commit 789118d

Please sign in to comment.