diff --git a/src/addons/mod/scorm/classes/data-model-12.ts b/src/addons/mod/scorm/classes/data-model-12.ts index 3cf3faafb..97268ff4d 100644 --- a/src/addons/mod/scorm/classes/data-model-12.ts +++ b/src/addons/mod/scorm/classes/data-model-12.ts @@ -25,8 +25,8 @@ import { } from '../services/scorm'; // Standard Data Type Definition. -const CMI_STRING_256 = '^[\\u0000-\\uFFFF]{0,255}$'; -const CMI_STRING_4096 = '^[\\u0000-\\uFFFF]{0,4096}$'; +const CMI_STRING_256 = '^[\\u0000-\\uFFFF]{0,64000}$'; +const CMI_STRING_4096 = '^[\\u0000-\\uFFFF]{0,64000}$'; const CMI_TIME = '^([0-2]{1}[0-9]{1}):([0-5]{1}[0-9]{1}):([0-5]{1}[0-9]{1})(.[0-9]{1,2})?$'; const CMI_TIMESPAN = '^([0-9]{2,4}):([0-9]{2}):([0-9]{2})(.[0-9]{1,2})?$'; const CMI_INTEGER = '^\\d+$'; // eslint-disable-line @typescript-eslint/no-unused-vars