Message412456
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. |
|
Date |
User |
Action |
Args |
2022-02-03 19:31:48 | jblangston | set | recipients:
+ jblangston, ezio.melotti, mrabarnett |
2022-02-03 19:31:48 | jblangston | set | messageid: <1643916708.55.0.380613044613.issue46627@roundup.psfhosted.org> |
2022-02-03 19:31:48 | jblangston | link | issue46627 messages |
2022-02-03 19:31:48 | jblangston | create | |
|