This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
jeremy
/
advent-of-code-2023
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Day 2: Fix regex
master
Jeremy Soumokil
2 years ago
parent
b5d98ad935
commit
11d0318153
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/main/kotlin/day2/Day2.kt
+ 1
- 1
src/main/kotlin/day2/Day2.kt
View File
@ -41,7 +41,7 @@ data class Game(val id: Int, val hands: List
) {
}
}
private
val
NUMBER_REGEX
=
Regex
(
"\\d"
)
private
val
NUMBER_REGEX
=
Regex
(
"\\d
+
"
)
}
}
}
}
Write
Preview
Loading…
Cancel
Save