added support to hyphen and tilde in CMIIdentifier

This commit is contained in:
bobopinna
2006-09-12 08:46:23 +00:00
parent 3e3c6eec08
commit 6a973240af
+1 -1
View File
@@ -24,7 +24,7 @@ function SCORMapi1_2() {
CMIInteger = '^\\d+$';
CMISInteger = '^-?([0-9]+)$';
CMIDecimal = '^-?([0-9]{0,3})(\.[0-9]{1,2})?$';
CMIIdentifier = '^\\w{1,255}$';
CMIIdentifier = '^\\w[\\w|\-|\~]{1,255}$';
CMIFeedback = CMIString256; // This must be redefined
CMIIndex = '[._](\\d+).';
// Vocabulary Data Type Definition