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 HeRaNO
Recipients HeRaNO, ezio.melotti, mrabarnett
Date 2022-02-22.10:23:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645525382.1.0.0821682540319.issue46825@roundup.psfhosted.org>
In-reply-to
Content
I'm using `re.fullmatch` to match a string that only contains 0 and 1. The regular expression is: (0+|1(01*0)*1)+

It runs rather slow with Python 3.7, but when I try using regex in C++, with std::regex_constants::__polynomial, it works well.

Would someone take a look at it? Thx.
History
Date User Action Args
2022-02-22 10:23:02HeRaNOsetrecipients: + HeRaNO, ezio.melotti, mrabarnett
2022-02-22 10:23:02HeRaNOsetmessageid: <1645525382.1.0.0821682540319.issue46825@roundup.psfhosted.org>
2022-02-22 10:23:02HeRaNOlinkissue46825 messages
2022-02-22 10:23:01HeRaNOcreate