Skip to content

Commit d6529aa

Browse files
committed
Should fix changelog regex
1 parent d4a5935 commit d6529aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def embed(self):
4242
class ChangeLog:
4343

4444
changelog_url = 'https://raw.githubusercontent.com/kyb3r/modmail/master/CHANGELOG.md'
45-
regex = re.compile(r'# (v\d+\.\d+\.\d+)([\S\s]*?(?=# v))')
45+
regex = re.compile(r'# (v\d+\.\d+\.\d+)([\S\s]*?(?=# v|$))')
4646

4747
def __init__(self, bot, text):
4848
self.bot = bot

0 commit comments

Comments
 (0)