core/server/data/importer/index.js
function (items) {
        return '+(' + _.reduce(items, function (memo, ext) {
            return memo !== '' ? memo + '|' + ext : ext;
        }, '') + ')';
    }
function (items) {
        return '+(' + _.reduce(items, function (memo, ext) {
            return memo !== '' ? memo + '|' + ext : ext;
        }, '') + ')';
    }
function ( items ) { return '+(' + _ . reduce ( items , function ( memo , ext ) { return memo !== '' ? memo + '|' + ext : ext ; } , '' ) + ')' ; }
Convert items into a glob string
@param {String[]} items
@returns {String}
Convert items into a glob string