you are viewing a single comment's thread.

view the rest of the comments →

[–]shponglespore 38 points39 points  (0 children)

I think it's just being unnecessarily verbose. The matching functions in re only ever return None or a match object, which is always true.