lib/file-filter.js
function excludeFiles(list, regex) {
        var ret = [];
        for (var i=0; i < list.length; i++) {
            if (!regex.test(list[i].dst)) {
                ret.push(list[i]);
            }
        }
        return ret;
    }
function excludeFiles(list, regex) {
        var ret = [];
        for (var i=0; i < list.length; i++) {
            if (!regex.test(list[i].dst)) {
                ret.push(list[i]);
            }
        }
        return ret;
    }
function excludeFiles ( list , regex ) { var ret = [ ] ; for ( var i = 0 ; i < list . length ; i ++ ) { if ( ! regex . test ( list [ i ] . dst ) ) { ret . push ( list [ i ] ) ; } } return ret ; }
Remove specs whose destination matches to the given regex pattern.
Remove specs whose destination matches to the given regex pattern .