Philippe Verdy <verd...@wanadoo.fr> added the comment: Implementation details:
Currently, the capturing groups behave quite randomly in the values returned by MachedObject, when backtracking occurs in a repetition. This proposal will help fix the behavior, because it will also be much easier to backtrack cleanly, occurence by occurence, by just dropping the last element in the list of (start,end) pairs stored in the MatchedObject for all capturing groups specified WITHIN the repeated sub-expression. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7132> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com