Serhiy Storchaka added the comment:

This looks too complicated. groups, indexgroup and groupindex are unambiguously 
derived from pattern string. If caching works different pattern strings are 
compiled to different pattern objects. Currently they are not equal, even if 
their codes are equal. And I don't see large need to consider them equal.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to