/super-csv/src/main/java/org/supercsv/cellprocessor/StrReplace.java
StrReplace( regex, replacement) ;
checkPreconditions ( regex, replacement ) ;
public class StrReplace extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor, LongCellProcessor, StringCellProcessor { private final Pattern regexPattern; private final String replacement; public StrReplace(final String regex, final String replacement) { super(); <extra_id_0> this.regexPattern = Pattern.compile(regex); this.replacement = replacement; } public StrReplace(final String regex, final String replacement, final StringCellProcessor next) { super(next); checkPreconditions(regex, replacement);