Skip to content

Commit

Permalink
Fix my lazy regexing
Browse files Browse the repository at this point in the history
Co-authored-by: Robin <[email protected]>
  • Loading branch information
dbkr and robintown authored Apr 6, 2023
1 parent 2b71a6c commit 480e46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/reformat-release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
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]))

0 comments on commit 480e46c

Please sign in to comment.