Skip to content
Snippets Groups Projects

Number in task title is now captured in regex

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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+)$')
Loading