Skip to content
Snippets Groups Projects
Commit 2057ac1a authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Number in task title is now captured in regex

The number was given by the lecturer and is used to differentiate between different versions of the tasks, thus it should not be omitted.
parent 1f889005
No related branches found
No related tags found
1 merge request!3Number in task title is now captured in regex
Pipeline #82168 passed
......@@ -44,7 +44,7 @@ class XLSConverter(lib.generic.Converter):
user_t = namedtuple('user_head', 'name matrikel_no')
# one task has a title and id and hpfly code
task_head_re = re.compile(r'^Quellcode Frage (?P<title>.*?) ?(\d{8})?$')
task_head_re = re.compile(r'^Quellcode Frage (?P<title>.*?)$')
# nor parsing the weird mat no
matno_re = re.compile(r'^(?P<matrikel_no>\d+)-(\d+)-(\d+)$')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment