- buffer
- the StringBuffer to append to.
- replacement
- the replacement text.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if no successful match has been made.
Appends a literal part of the input plus a replacement for the current match to a given Java.Lang.StringBuffer. The literal part is exactly the part of the input between the previous match and the current match. The method can be used in conjunction with Matcher.Find and Matcher.AppendTail(Java.Lang.StringBuffer) to walk through the input and replace all occurrences of the Pattern with something else.