From 35c2905010f5cfc8a9d46cf19805b89363994c6c Mon Sep 17 00:00:00 2001 From: Maxime Duchene-Savard Date: Thu, 23 Feb 2023 09:38:37 -0500 Subject: [PATCH] fix regex --- src/constants/regex.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/constants/regex.js b/src/constants/regex.js index daf5090..c488095 100644 --- a/src/constants/regex.js +++ b/src/constants/regex.js @@ -1,15 +1,15 @@ // @flow const scorm12 = { - CMIString256: '^.{0,}$', - CMIString4096: '^.{0,}$', + CMIString256: '^.*$', + CMIString4096: '^.*$', CMITime: '^(?:[01]\\d|2[0123]):(?:[012345]\\d):(?:[012345]\\d)$', // eslint-disable-line CMITimespan: '^([0-9]{2,}):([0-9]{2}):([0-9]{2})(\.[0-9]{1,2})?$', // eslint-disable-line CMIInteger: '^\\d+$', CMISInteger: '^-?([0-9]+)$', CMIDecimal: '^-?([0-9]{0,3})(\.[0-9]*)?$', // eslint-disable-line - CMIIdentifier: '^[\\u0021-\\u007E\\s]{0,}$', - CMIFeedback: '^.{0,}$', // This must be redefined + CMIIdentifier: '^.*$', + CMIFeedback: '^.*$', // This must be redefined CMIIndex: '[._](\\d+).', // Vocabulary Data Type Definition