code: function concatRegexes (regexes) {
    var rconcat = ''
  
    if (Array.isArray(regexes)) {
      for (var i = 0, l = regexes.length; i < l; i++) {
        rconcat += regexes[i].source + '|'
      }
  
      rconcat = rconcat.substr(0, rconcat.length - 1)
  
      return new RegExp(rconcat)
    }
  }
docs: Concat various regular expressions into one
  @param  {RegExp Array} regexes
  @return {RegExp}       concatanated regexp