common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java
public Matcher appendReplacement(StringBuffer sb, String replacement) {
        matcher.appendReplacement(sb, parentPattern.replaceProperties(replacement));
        return this;
    }
public Matcher appendReplacement(StringBuffer sb, String replacement) {
        matcher.appendReplacement(sb, parentPattern.replaceProperties(replacement));
        return this;
    }
Implements a non-terminal append-and-replace step.

@param sb The target string buffer
@param replacement The replacement string
@return The target string buffer