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 steven.daprano
Recipients Callipygean, Windson Yang, ezio.melotti, mrabarnett, steven.daprano
Date 2018-11-02.14:21:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541168499.13.0.788709270274.issue35146@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug in Python, it is an invalid (broken) regular expression. There is nothing that the interpreter or the regular expression engine can do, because you are telling it to do something that makes no sense. What do you expect findall to find, if you ask it to find something nonsensical?

You say:

"repeat this pattern any number of times"

but there is no "this pattern" to be repeated. You are asking for something impossible. The only legitimate response is to report back that the regular expression is invalid and cannot be compiled, and fail immediately.
History
Date User Action Args
2018-11-02 14:21:39steven.dapranosetrecipients: + steven.daprano, ezio.melotti, mrabarnett, Windson Yang, Callipygean
2018-11-02 14:21:39steven.dapranosetmessageid: <1541168499.13.0.788709270274.issue35146@psf.upfronthosting.co.za>
2018-11-02 14:21:39steven.dapranolinkissue35146 messages
2018-11-02 14:21:39steven.dapranocreate