Skip to content

Commit

Permalink
bug fix readme generator
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonTang89 committed May 19, 2024
1 parent dffa03c commit 3e1ff19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def print_table():
line = line.strip()

# Matches CF(ContestNumber)_(Problem)_(TaskName).(?:ext)
m = re.search(r'CF(\d+)_([^_]+)_([^_]+)?\.(?:py|cpp|hs|c|ml|rs)', line)
m = re.search(r'CF(\d+)_([^_]+)_([^.]+)?\.(?:py|cpp|hs|c|ml|rs)', line)

contest_number = str(m.group(1))
question_letter = str(m.group(2))
Expand Down

0 comments on commit 3e1ff19

Please sign in to comment.