code: function getMin(range, key) {
      if (!RANGEREGEX.test(range)) {
        throw new NotAcceptableException("Length bad formated at " + key);
      } else {
        var start = range.indexOf("[");
        var last = range.indexOf("-");
        if (start != -1 && last > start) {
          var min = parseInt(range.substring(start + 1, last));
          return min;
        }
        throw new NotAcceptableException("Length bad formated at " + key);
      }
    }
docs: Get min of an array lenght [min-max]
  @param  {[type]} range [description]
  @param  {[type]} key   [description]
  @return {[type]}       [description]