Code example for MatchResult

Methods: group

0
        return EnumSet.of(EnhancedField.JOURNAL);
    } 
 
    @Override 
    protected boolean enhanceMetadata(MatchResult result, Element metadata) {
        Enhancers.setJournal(metadata, result.group().trim());
        
        return true; 
    } 
}