presto-benchmark-driver/src/main/java/io/prestosql/benchmark/driver/Suite.java/Suite/selectQueries
class Suite:    public List<BenchmarkQuery> selectQueries(Iterable<BenchmarkQuery> queries)
    {
        if (getQueryNamePatterns().isEmpty()) {
            return ImmutableList.copyOf(queries);
        }

        List<BenchmarkQuery> filteredQueries = stream(queries)
                .filter(query -> getQueryNamePatterns().stream().anyMatch(pattern -> pattern.matcher(query.getName()).matches()))
                .collect(toImmutableList());

        return filteredQueries;
    }