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 jblangston
Recipients ezio.melotti, jblangston, mrabarnett
Date 2022-02-03.19:31:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643916708.55.0.380613044613.issue46627@roundup.psfhosted.org>
In-reply-to
Content
Yes, it is supposed to match everything up to the closing ] in this substring: 

[BigTableReader(path='/data/cassandra/data/log/logEntry_202202-e68971800b2711ecaf770d5fa3f5ae87/md-112-big-Data.db')]

Quoting from the re docs:

To match a literal ']' inside a set, precede it with a backslash, or place it at the beginning of the set. For example, both [()[\]{}] and []()[{}] will both match a parenthesis.

The docs don't specifically state the case of a negated set using ^, but I have used this construction many times and never had a problem with it.

Furthermore, it is not what caused the regex to hang.  That was caused by "(?P<biggest_size>[^,]+)," and changing it to "(?P<biggest_size>.+?)," fixed the problem.
History
Date User Action Args
2022-02-03 19:31:48jblangstonsetrecipients: + jblangston, ezio.melotti, mrabarnett
2022-02-03 19:31:48jblangstonsetmessageid: <1643916708.55.0.380613044613.issue46627@roundup.psfhosted.org>
2022-02-03 19:31:48jblangstonlinkissue46627 messages
2022-02-03 19:31:48jblangstoncreate