lib/expression.js
function parseRepeat (val) {
    var repeatInterval = 1;
    var atoms = val.split('/');

    if (atoms.length > 1) {
      return parseRange(atoms[0], atoms[atoms.length - 1]);
    }

    return parseRange(val, repeatInterval);
  }
function parseRepeat (val) {
    var repeatInterval = 1;
    var atoms = val.split('/');

    if (atoms.length > 1) {
      return parseRange(atoms[0], atoms[atoms.length - 1]);
    }

    return parseRange(val, repeatInterval);
  }
function parseRepeat ( val ) { var repeatInterval = 1 ; var atoms = val . split ( '/' ) ; if ( atoms . length > 1 ) { return parseRange ( atoms [ 0 ] , atoms [ atoms . length - 1 ] ) ; } return parseRange ( val , repeatInterval ) ; }
Parse repetition interval

@param {String} val
@return {Array}
Parse repetition interval