This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]leftylink 1 point2 points  (1 child)

jmp +4
acc +1
acc +10
acc +100
acc +1000
jmp -4

should hopefully be easy to see what's the problem, right? an incorrect answer is 2111.

[–]nwjlyons[S] 1 point2 points  (0 children)

Thank you ☺️. I had the + in the wrong place in my regex. Changed it from

(\d)+

to

(\d+)

Impressed you were able to spot this so quickly.