aboutsummaryrefslogtreecommitdiff
path: root/dbparse.js
diff options
context:
space:
mode:
Diffstat (limited to 'dbparse.js')
-rw-r--r--dbparse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbparse.js b/dbparse.js
index 5f495e5..2be3f96 100644
--- a/dbparse.js
+++ b/dbparse.js
@@ -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";
}