R. David Murray added the comment: The complexity of those solutions argues in favor of adding a method, I'd say.
Personally I'd write multiple asserts rather than regex permutations. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27132> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com