summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 14:21:27 +0200
committerrstular <rok@stular.eu>2020-05-17 14:21:27 +0200
commita6b27a276c6da60d7fa21c5d767ef7d38c9fac2a (patch)
treeebeea43aea5123b1e1b454c473e6a7d461499928 /assets/js
parentGSEC bug fix - regex matching (diff)
downloadbeziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar.gz
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar.bz2
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar.lz
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar.xz
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.tar.zst
beziapp-a6b27a276c6da60d7fa21c5d767ef7d38c9fac2a.zip
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/gsec.js2
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 = /\((.+?) - (.+?)\)/;