minus-squaresilvanocerza@lemmy.worldtoAdvent Of Code@programming.dev•[2023 Day 1] It is not supposed to ramp up this fastlinkfedilinkarrow-up20·1 year agoI was surprised seeing ton of people going for the replace approach. It didn’t even cross my mind to edit the string, I went straight for regex for part 1 and it was easy enough to adapt it for part 2. linkfedilink
I was surprised seeing ton of people going for the replace approach. It didn’t even cross my mind to edit the string, I went straight for regex for part 1 and it was easy enough to adapt it for part 2.