Hendrik Lemelson added the comment:
Thank you for clarifying this. While it still not seems really intuitive to me
I can handle the behavior.
To summarize: It is not possible with re to have an optional ({0,1}) group that
contains further subgroups, because re considers (0,0) to already fulfill the
constraints for the outer group?
----------
resolution: -> invalid
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com