diff options
Diffstat (limited to 'assets/js/gsec.js')
-rw-r--r-- | assets/js/gsec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/gsec.js b/assets/js/gsec.js index d0e5fbb..c961c23 100644 --- a/assets/js/gsec.js +++ b/assets/js/gsec.js @@ -291,7 +291,7 @@ class gsec { fetchTeachers() { // razrednika ne vrne kot razrednika, če le-ta uči še en predmet. razlog: razrednik je napisan dvakrat, drugič se prepiše. Ne da se mi popravljat. const SUBJECT_REGEX = /^(.+?(?= \()|.+(?! \())/; // For some reason, JS doesn't support conditional regex - const ABKURZUNG_REGEX = /\((.+?)\)/; + const ABKURZUNG_REGEX = /\((.+)\)/; const DAY_REGEX = /^(.+?), /; const PERIOD_REGEX = /, (\d+?)\. ura/; const TIME_RANGE_REGEX = /\((.+?) - (.+?)\)/; |