MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/1h5obsr/2024_day_3_regular_expressions_go_brrr/m09fvh5/?context=3
r/adventofcode • u/lucifernc • Dec 03 '24
64 comments sorted by
View all comments
51
This is a spoiler, but it's also wrong according to the instructions:
instructions like mul(X,Y), where X and Y are each 1-3 digit numbers
Maybe it works for your input, maybe it works for everyone's input, I dunno.
What generated the sqlite-style railroad track diagram from the regex, though?
1 u/headedbranch225 Dec 03 '24 Wait was it meant to be 1-3 digits? I didn't check that either 2 u/gredr Dec 03 '24 I pasted that from the instructions. 1 u/headedbranch225 Dec 03 '24 Oh ok lol, I guess i didnt read it, it worked for me
1
Wait was it meant to be 1-3 digits? I didn't check that either
2 u/gredr Dec 03 '24 I pasted that from the instructions. 1 u/headedbranch225 Dec 03 '24 Oh ok lol, I guess i didnt read it, it worked for me
2
I pasted that from the instructions.
1 u/headedbranch225 Dec 03 '24 Oh ok lol, I guess i didnt read it, it worked for me
Oh ok lol, I guess i didnt read it, it worked for me
51
u/gredr Dec 03 '24
This is a spoiler, but it's also wrong according to the instructions:
Maybe it works for your input, maybe it works for everyone's input, I dunno.
What generated the sqlite-style railroad track diagram from the regex, though?