From 75c1dd723d353bfd5cba35a686f911c54760b88c Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 19:40:46 +0200 Subject: Regex fix --- assets/js/gsec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/js/gsec.js') diff --git a/assets/js/gsec.js b/assets/js/gsec.js index 1016e7c..2a05ea6 100644 --- a/assets/js/gsec.js +++ b/assets/js/gsec.js @@ -249,7 +249,7 @@ class gsec { fetchGradings() { - const DESC_REGEX = /\((.+?)\)/; + const DESC_REGEX = /\((.+?)\)/m; const SUBJECT_REGEX = /^(.+?) \(/m; return new Promise((resolve) => { -- cgit v1.2.3