3 ms·
I'm not a fan of if statements (especially nested) or for loops (except for side effects), which is why I coded like I did — in the style of a Lisp. That said,
by djacobs 16y ago
I'm not a fan of if statements (especially nested) or for loops (except for side effects), which is why I coded like I did — in the style of a Lisp. That said, thanks for the excellent code. I'm going to look it over.
I'll go back tomorrow and double-check the regex. I'm definitely not an expert with those objects in Python.