diff --git a/src/cogs/election.py b/src/cogs/election.py index 2a9667f..fd84652 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -13,7 +13,7 @@ from discord.ext import commands SPAN_REGEX = re.compile( - r"^(?P(\D+)(?P[0-9,]+)\scouncillors\s(?P[0-9,]+)\scouncillors\s(?P(gained|lost))$" + r"^(?P\D+)(?P[0-9,]+)\scouncillors\s(?P[0-9,]+)\scouncillors\s(?P(gained|lost))$" ) MULTI: dict[str, int] = { "gained": 1,