mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-24 00:38:31 +08:00
Fix my lazy regexing
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
parent
2b71a6c4f4
commit
480e46c5b2
@ -11,5 +11,5 @@ import sys
|
||||
import re
|
||||
|
||||
for line in sys.stdin:
|
||||
matches = re.match(r'^\* (.*) by (.*) in (.*)$', line.strip())
|
||||
matches = re.match(r'^\* (.*) by (\S+) in (\S+)$', line.strip())
|
||||
print("* %s (%s)" % (matches[1], matches[3]))
|
||||
|
Loading…
Reference in New Issue
Block a user