Permalink
Browse files

MDL-30578, Updating CMILongIdentifer read comments at tracker

  • Loading branch information...
1 parent c9e7d6e commit d6296b71cced03275137ef5033e121e0e450b379 @mayankgupta mayankgupta committed Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_13.js.php
@@ -92,7 +92,7 @@ function SCORMapi1_3() {
var CMIDecimal = '^-?([0-9]{1,5})(\\.[0-9]{1,18})?$';
var CMIIdentifier = '^\\S{1,250}[a-zA-Z0-9]$';
var CMIShortIdentifier = '^[\\w\.]{1,250}$';
- var CMILongIdentifier = '^(?:(?!urn:)\\S{1,4000}|urn:[a-z0-9][-a-z-0-9]{1,31}:\\S{1,4000})$';
+ var CMILongIdentifier = '^(?:(?!urn:)\\S{1,4000}|urn:[A-Za-z0-9-]{1,31}:\\S{1,4000})$';
var CMIFeedback = '^.*$'; // This must be redefined
var CMIIndex = '[._](\\d+).';
var CMIIndexStore = '.N(\\d+).';

0 comments on commit d6296b7

Please sign in to comment.