Ezio Melotti added the comment: > print(mo['col']) > print(len(mo))
This has already been discussed in another issue. As Serhiy mentioned, len(mo) and mo[num] would be ambiguous because of the group 0, but mo[name] might be ok. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24454> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com