package
0.0.0-20231216031245-352ca3995437
Repository: https://github.com/edgejay/adventofcode.git
Documentation: pkg.go.dev
# README
2023 Day 2
Learnings
- Revision of regexp handling in Go.
- Usage of
regexp.FindStringSubmatch
andregexp.FindAllStringSubmatch
. - Proper setup of Game struct to manage parsing of each line of input saved a lot of time when in comes to solving puzzle 2
- Unit tests helped a lot too.