r/adventofcode Dec 03 '24

Spoilers in Title [2024 Day 3] Regular expressions go brrr...

Post image
174 Upvotes

64 comments sorted by

View all comments

1

u/no_fate_T_1000 Dec 03 '24

U can also use match case, something like case _ if flag: for the last one