fixed typo

This commit is contained in:
2023-12-01 22:02:00 +01:00
parent fc04fe176e
commit 7cc17ecb6d

View File

@@ -74,7 +74,7 @@ func main() {
// get first matchgroup, first match (aka first digit in forwardReplacedLine)
first := firstMatch[0][0]
// get last matchgroup, first match (aka last digit in forwardReplacedLine)
// get last matchgroup, first match (aka last digit in backwardReplacedLine)
last := lastMatch[len(lastMatch)-1:][0][0]
fmt.Println(first + last)