From 2057ac1a5d7fa1528494d1ca0562efeb16f3cd47 Mon Sep 17 00:00:00 2001
From: "robinwilliam.hundt" <robinwilliam.hundt@stud.uni-goettingen.de>
Date: Wed, 10 Oct 2018 15:45:47 +0200
Subject: [PATCH] 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.
---
 lib/xls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xls.py b/lib/xls.py
index 5989e72..8013b4f 100755
--- a/lib/xls.py
+++ b/lib/xls.py
@@ -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+)$')
-- 
GitLab