private Pattern[] compilePatterns(List<String> regexes) {
        if (regexes != null && !regexes.isEmpty()) {
            Pattern[] patterns = new Pattern[regexes.size()];
            for (int i = 0; i < patterns.length; i++) {
                patterns[i] = Pattern.compile(regexes.get(i), Pattern.CASE_INSENSITIVE | Pattern.DOTALL);
            }
            return patterns;
        }
        return null;
    }
Classify whether a page is relevant by matching lists of regular expressions against multiples
fields of the web page.
ache/src/main/java/achecrawler/target/classifier/RegexTargetClassifier.java