/super-csv/src/main/java/org/supercsv/cellprocessor/constraint/StrRegEx.java
private final Map<String, String> REGEX_MSGS = new HashMap<String, String>( ) ;
private static final Map<String, String> REGEX_MSGS = new HashMap<String, String> ( ) ;
import org.supercsv.exception.SuperCsvCellProcessorException; import org.supercsv.exception.SuperCsvConstraintViolationException; import org.supercsv.util.CsvContext; public class StrRegEx extends CellProcessorAdaptor implements StringCellProcessor { private final String regex; private final Pattern regexPattern; <extra_id_0> public StrRegEx(final String regex) { super(); checkPreconditions(regex); this.regexPattern = Pattern.compile(regex); this.regex = regex; }