Permalink
Browse files

SCORM MDL-24579 fix CMILongIdentifier regex (SCORM 2004) - thanks to …

…Peter Chamberlain for report/fix merged from HEAD
  • Loading branch information...
danmarsden committed Nov 10, 2010
1 parent 57512f8 commit 89d793478fd5593fbf1593c289f555def050f22a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_13.js.php
@@ -74,7 +74,7 @@ function SCORMapi1_3() {
var CMIDecimal = '^-?([0-9]{1,5})(\\.[0-9]{1,18})?$';
var CMIIdentifier = '^\\S{0,250}[a-zA-Z0-9]$';
var CMIShortIdentifier = '^[\\w\.]{1,250}$';
- var CMILongIdentifier = '^\\S{0,4000}[a-zA-Z0-9]$';
+ var CMILongIdentifier = '^\\S{0,4000}$';
var CMIFeedback = '^.*$'; // This must be redefined
var CMIIndex = '[._](\\d+).';
var CMIIndexStore = '.N(\\d+).';

0 comments on commit 89d7934

Please sign in to comment.