This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients davisjam, ezio.melotti, malin, mrabarnett, rhettinger
Date 2019-01-30.22:44:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548888264.09.0.30229846208.issue35859@roundup.psfhosted.org>
In-reply-to
Content
I'm not at all clear on how these features should interact (alternation, non-greedy matching, and group capture).  Was just pointing that the first-match behavior of alternation is the documented behavior and that re.DEBUG can be used to explore what the regex is actually doing.   Whether this is correct, intended, desirable or consistent with other tools is a completely different question.  Even if not, there is a question about whether the behavior should be changed or just documented rather than risk breaking an untold number of regexes in already tested and deployed code.
History
Date User Action Args
2019-01-30 22:44:25rhettingersetrecipients: + rhettinger, ezio.melotti, mrabarnett, malin, davisjam
2019-01-30 22:44:24rhettingersetmessageid: <1548888264.09.0.30229846208.issue35859@roundup.psfhosted.org>
2019-01-30 22:44:24rhettingerlinkissue35859 messages
2019-01-30 22:44:23rhettingercreate