moodle/mod/scorm/datamodels
Christian Lawson-Perfect 7dcbe6a983 MDL-61355 SCORM: fix correct_response prefix check
The regexes to detect the optional prefixes at the start of some
interaction types are constructed to optionally match the prefix, so we
need to ensure that the matched group is really there when trying to
strip it from the given value in CRCheckValueNodes.

also remove "check for prefix" from CRcheckValueNodes

prefixes on correct responses patterns are removed in the section above
by CRremovePrefixes, so this block was redundant.
The `.pre` property for each correct_response is not used anywhere
else, so this removes their definitions too.
2018-07-12 10:44:30 +12:00
..
aicc.js MDL-56808 scorm: remove some eval function that aren't needed. 2017-01-26 09:56:29 +13:00
aicc.php MDL-37401 mod_scorm : autocommit for scorm 2014-08-09 22:06:54 +00:00
aicclib.php MDL-49557 mod_scorm: optionally strip quotes. 2017-01-04 15:43:46 +13:00
debug.js.php MDL-45887 mod_scorm : Fixing coding standard violations 2014-08-17 22:15:04 +12:00
scorm_12.js Merge branch 'wip-MDL-57785-master' of git://github.com/amygroshek/moodle 2017-01-31 12:19:13 +08:00
scorm_12.php MDL-61709 mod_scorm: use student fullname when not in standards mode 2018-04-07 09:14:22 +02:00
scorm_12lib.php MDL-61709 mod_scorm: use student fullname when not in standards mode 2018-04-07 09:14:22 +02:00
scorm_13.js MDL-61355 SCORM: fix correct_response prefix check 2018-07-12 10:44:30 +12:00
scorm_13.php MDL-50972 mod_scorm: set autocommit as boolean 2015-12-14 14:26:24 +13:00
scorm_13lib.php MDL-61709 mod_scorm: use student fullname when not in standards mode 2018-04-07 09:14:22 +02:00
scormlib.php MDL-55057 mod_scorm: fix handling of SCO identifiers with apostrophes 2016-06-29 08:44:24 +01:00
sequencinghandler.php MDL-45887 mod_scorm : Fixing coding standard violations 2014-08-17 22:15:04 +12:00
sequencinglib.php MDL-51757 mod_scorm: Remove duplicate function param 2015-11-25 14:06:02 +13:00