From 10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 17 Apr 2023 10:35:27 +0200 Subject: [locationinfo] HiS: ID-regex for title was apparently to short --- .../locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 4d70e5aa..738b5b14 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -48,7 +48,7 @@ class CourseBackend_HisInOne extends ICalCourseBackend $title = parent::toTitle($event); // His in one seems to prefix *some* (but *not* all) of the lectures by their ID/("Nummer") // No clue what that format is supposed to be, this regex is some guesswork after observing this for a while - $title = preg_replace('#^[0-9][0-9A-ZÄÖÜ]{3,9}-[A-Za-z0-9/_ÄÖÜäöüß.-]{4,20}\s+#u', '', $title); + $title = preg_replace('#^[0-9][0-9A-ZÄÖÜ]{3,9}-[A-Za-z0-9/_ÄÖÜäöüß.-]{4,30}\s+#u', '', $title); return $title; } -- cgit v1.2.3-55-g7522