switch (csvCase.matchType()) {
case LINE:
match = p.matcher(line);
break;
case FIELD:
match = p.matcher(records[csvCase.fieldToMatch()]);
break;
default:
LOGGER.fatal("Match type not found: " + csvCase.matchType());
throw new RuntimeException("Match time not found: " + csvCase.matchType());
}