Skip to content

Commit

Permalink
added support to hyphen and tilde in CMIIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
bobopinna committed Sep 12, 2006
1 parent 3e3c6ee commit 6a97324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/datamodels/scorm1_2.js.php
Expand Up @@ -24,7 +24,7 @@ function SCORMapi1_2() {
CMIInteger = '^\\d+$'; CMIInteger = '^\\d+$';
CMISInteger = '^-?([0-9]+)$'; CMISInteger = '^-?([0-9]+)$';
CMIDecimal = '^-?([0-9]{0,3})(\.[0-9]{1,2})?$'; CMIDecimal = '^-?([0-9]{0,3})(\.[0-9]{1,2})?$';
CMIIdentifier = '^\\w{1,255}$'; CMIIdentifier = '^\\w[\\w|\-|\~]{1,255}$';
CMIFeedback = CMIString256; // This must be redefined CMIFeedback = CMIString256; // This must be redefined
CMIIndex = '[._](\\d+).'; CMIIndex = '[._](\\d+).';
// Vocabulary Data Type Definition // Vocabulary Data Type Definition
Expand Down

0 comments on commit 6a97324

Please sign in to comment.