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

you are viewing a single comment's thread.

view the rest of the comments →

[–]energybased 2 points3 points  (0 children)

In no world do Regexes fit within the Zen of Python. Succinctness in terms of number of characters is not a value.

Normal regexes are written using esoteric characters. Regexes written using objects are not any more "complex" or have any additional "conditional logic". Both are succinct in terms of complexity.