lib/utils.js
function combine () {
  const c = Array.prototype.concat.apply([], arguments)
    .map((expression) => '(' + expression.source + ')')
    .join('|')
  return new RegExp(c)
}
function combine () {
  const c = Array.prototype.concat.apply([], arguments)
    .map((expression) => '(' + expression.source + ')')
    .join('|')
  return new RegExp(c)
}
function combine ( ) { const c = Array . prototype . concat . apply ( [ ] , arguments ) . map ( ( expression ) => '(' + expression . source + ')' ) . join ( '|' ) return new RegExp ( c ) }
Combines array of RegExp objects into a single RegExp with OR
Takes an arbitrary number of RegExp objects
@returns {RegExp} Combined RegExp
Combines array of RegExp objects into a single RegExp with OR Takes an arbitrary number of RegExp objects