#regex pwned with () group
8 messages · Page 1 of 1 (latest)
date, time, command
third brackets causes re to be pwned
re.error: missing ), unterminated subpattern at position 0
missing ), unterminated subpattern at position 0
re.search("(\d+:\d+:\d+\)|(\d+/\d+/\d+):(.*)", log)
not sure whats messed up
oh fuck
>>> re.search("(\d+:\d+:\d+)\|(\d+/\d+/\d+):(.*)", log)
<re.Match object; span=(0, 22), match='18:14:46|12/30/22:loot'>