/super-csv/src/main/java/org/supercsv/cellprocessor/constraint/StrRegEx.java
this.regexPattern = Pattern.compile ( regex ) ;
private final String regex; private final Pattern regexPattern; private static final Map<String, String> REGEX_MSGS = new HashMap<String, String>(); public StrRegEx(final String regex) { super(); checkPreconditions(regex); <extra_id_0> this.regex = regex; } public StrRegEx(final String regex, final StringCellProcessor next) { super(next); checkPreconditions(regex); this.regexPattern = Pattern.compile(regex);