/super-csv/src/main/java/org/supercsv/cellprocessor/constraint/StrRegEx.java
StrRegEx( regex) ;
checkPreconditions ( regex ) ;
public class StrRegEx extends CellProcessorAdaptor implements StringCellProcessor { 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(); <extra_id_0> this.regexPattern = Pattern.compile(regex); this.regex = regex; } public StrRegEx(final String regex, final StringCellProcessor next) { super(next); checkPreconditions(regex);