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