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 serhiy.storchaka
Recipients Anthony Sottile, dom1310df, ezio.melotti, gvanrossum, malin, mrabarnett, serhiy.storchaka, vstinner
Date 2022-04-03.11:01:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648983688.53.0.130631507507.issue47152@roundup.psfhosted.org>
In-reply-to
Content
There are two very different classes with similar names: _sre.SRE_Scanner and re.Scanner. The former is used to implement the Pattern.finditer() method, but it could be used in other cases. The latter is an experimental implementation of generalized lexer using the former class. Both are undocumented. It is difficult to document Pattern.scanner() and _sre.SRE_Scanner because the class name contains implementation-specific prefix, and without it it would conflict with re.Scanner.

But let leave it all to a separate issue.

The original discussion about TEMPLATE was lost. Initially it only affected repetition operators, but now using them with TEMPLATE is error.
History
Date User Action Args
2022-04-03 11:01:28serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, ezio.melotti, mrabarnett, malin, Anthony Sottile, dom1310df
2022-04-03 11:01:28serhiy.storchakasetmessageid: <1648983688.53.0.130631507507.issue47152@roundup.psfhosted.org>
2022-04-03 11:01:28serhiy.storchakalinkissue47152 messages
2022-04-03 11:01:28serhiy.storchakacreate