src/browser/schemaValidator.js
function checkRegex(node, schema, key) {
    try {
      schema[SCHEMAREGEX].test(node);
    } catch (e) {
      throw new ValidationException(key + " doesn't match its regex.");
    }
  }
function checkRegex(node, schema, key) {
    try {
      schema[SCHEMAREGEX].test(node);
    } catch (e) {
      throw new ValidationException(key + " doesn't match its regex.");
    }
  }
function checkRegex ( node , schema , key ) { try { schema [ SCHEMAREGEX ] . test ( node ) ; } catch ( e ) { throw new ValidationException ( key + " doesn't match its regex." ) ; } }
Check regex.
@param  {[type]} node   [description]
@param  {[type]} schema [description]
@param  {[type]} key    [description]
@return {[type]}        [description]
Check regex .