fix regex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user