fix regex
This commit is contained in:
8
dist/scorm12.js
vendored
8
dist/scorm12.js
vendored
@@ -4906,8 +4906,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var 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})?$',
|
||||
@@ -4916,8 +4916,8 @@ var scorm12 = {
|
||||
CMISInteger: '^-?([0-9]+)$',
|
||||
CMIDecimal: '^-?([0-9]{0,3})(\.[0-9]*)?$',
|
||||
// eslint-disable-line
|
||||
CMIIdentifier: "^[\\u0021-\\u007E\\s]{0,}$",
|
||||
CMIFeedback: '^.{0,}$',
|
||||
CMIIdentifier: '^.*$',
|
||||
CMIFeedback: '^.*$',
|
||||
// This must be redefined
|
||||
CMIIndex: '[._](\\d+).',
|
||||
// Vocabulary Data Type Definition
|
||||
|
||||
Reference in New Issue
Block a user