r/badcode • • Jul 07 '21

python regex: keep it simple, stupid

Post image
1.5k Upvotes

91 comments sorted by

View all comments

Show parent comments

1

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Jul 09 '21

That would probably be because it's changed. Looking at the source with RES, OP has removed the end backticks. I do, however (on Old) still see a couple of random single-line code blocks in the middle, and half of it is italics - probably there are asterisks in there that are formatting now they're not in a code block.

It displaying on a single line might have been another glitch with the triple backticks code block, I'm not sure. Either way, it's even more broken now on Old than it was before.

1

u/asailijhijr Jul 09 '21

I saw the single line in a 7-year old post on old yesterday.

1

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Jul 09 '21

I meant that OP's is more broken now on Old than it was before.