Message363269
A smaller change to the regex would be to replace the "(?:.*,)*" with "(?:[^,]*,)*".
I'd also suggest using a raw string instead:
rx = re.compile(r'''(?:[^,]*,)*[ \t]*([^ \t]+)[ \t]+realm=(["']?)([^"']*)\2''', re.I) |
|
Date |
User |
Action |
Args |
2020-03-03 16:01:15 | mrabarnett | set | recipients:
+ mrabarnett, mgorny, xtreak, Anselmo Melo, bc |
2020-03-03 16:01:15 | mrabarnett | set | messageid: <1583251275.74.0.23072872731.issue38826@roundup.psfhosted.org> |
2020-03-03 16:01:15 | mrabarnett | link | issue38826 messages |
2020-03-03 16:01:15 | mrabarnett | create | |
|