Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30578, Updating CMILongIdentifer read comments at tracker

  • Loading branch information...
commit d6296b71cced03275137ef5033e121e0e450b379 1 parent c9e7d6e
@mayankgupta mayankgupta authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/datamodels/scorm_13.js.php
View
2  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+).';
Please sign in to comment.
Something went wrong with that request. Please try again.