I realized having to host this potentially indefinitely might not be the best idea, so I am going to shut down this gitea instance eventually.
You’ll have time, at least until the end of 2022, probably longer, but please just get all your stuff somewhere safe in case we ever disappear.
master
Karl Spickermann 2 years ago
parent 3833a1e433
commit 74caa969d3
  1. 2
      day4/day4.go

@ -85,7 +85,7 @@ func isValidPart2(document string) bool {
return false
}
case "pid":
if match, _ := regexp.MatchString("[0-9]{8}", pair[1]); !match{
if match, _ := regexp.MatchString("^[0-9]{8}$", pair[1]); !match{
return false
}
}

Loading…
Cancel
Save