diff options
author | JoelHMikael <joel.h.kronqvist@gmail.com> | 2022-01-16 16:50:44 +0200 |
---|---|---|
committer | JoelHMikael <joel.h.kronqvist@gmail.com> | 2022-01-16 16:50:44 +0200 |
commit | 28e4f1cf0dbd1c14a9724d17cf9127d223d85289 (patch) | |
tree | 4daa0e811e580b1963ffb6b6cda04664b7d19245 /dbparse.js | |
parent | 1a1b117cc9eae2cc2ecfb3695bebe21daf08741b (diff) | |
download | LYLLRuoka-28e4f1cf0dbd1c14a9724d17cf9127d223d85289.tar.gz LYLLRuoka-28e4f1cf0dbd1c14a9724d17cf9127d223d85289.zip |
Actual class parsing
Really messy, feel free to improve, or even rewrite.
Diffstat (limited to 'dbparse.js')
-rw-r--r-- | dbparse.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -225,7 +225,7 @@ function getIndexType(index) return "course"; if (/^[A-Za-zåäöÅÄÖ]{4}$/.test(index)) return "teacher"; - if (/^\w\d{3}$/.test(index)) + if (/^\w\d{3}R?$/.test(index)) return "class"; } |