Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Yes, [[] looks as the start of a character set containing nested sets (e.g. "[[a-z]--[p-q]]"). This feature is supported by regex and can be added in future versions of re, breaking the code which contain such combinations. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44786> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com