public boolean regexMatchesTitle(Page page) {
        
        String title = page.getParsedData().getTitle();
        if (title != null) {
            Matcher matcher = this.pattern.matcher(title);
            if (matcher.matches()) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
        
    }
Classify whether a page is relevant to a topic by matching a RegExp against the title.
ache/src/main/java/achecrawler/target/classifier/TitleRegexTargetClassifier.java