Skip to content

Commit

Permalink
[A-Z]* -> [A-Z]+
Browse files Browse the repository at this point in the history
  • Loading branch information
powe97 authored Mar 18, 2024
1 parent 4dff9e0 commit f612ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/sis_scraper/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def tokenize(prerequisites: str) -> Tokens:
("OR", r"or"),
("AND", r"and"),
("COURSE", r"[a-zA-Z]{4}(?:-| )\d{4}"),
("MIN_GRADE", r"(?<=Minimum Grade of )[A-Z]*[+-]?"),
("MIN_GRADE", r"(?<=Minimum Grade of )[A-Z]+[+-]?"),
]

# Get regex that matches a token
Expand Down

0 comments on commit f612ff4

Please sign in to comment.