minus-squareVigge93@lemmy.worldtoProgrammer Humor@lemmy.ml•Oh boy what a beautiful regex. I'm sure it does something logical and easy to understand.linkfedilinkarrow-up1·15 days agoThe answer says “any character” not “any characters”, so it is still correct. linkfedilink
minus-squareVigge93@lemmy.worldtoProgrammer Humor@lemmy.ml•For?linkfedilinkarrow-up2·1 year agoWhat happens on the next iteration when i = 2,147,483,647 for each of our loops? linkfedilink
minus-squareVigge93@lemmy.worldtoProgrammer Humor@lemmy.ml•For?linkfedilinkarrow-up1·1 year agoNot quite the same, there’s a subtle but significant difference linkfedilink
minus-squareVigge93@lemmy.worldtoProgrammer Humor@lemmy.ml•For?linkfedilinkarrow-up4·1 year agofor(int i = 1; i > 0; i++) linkfedilink
The answer says “any character” not “any characters”, so it is still correct.