-
Matcher.appendReplacement(io.airlift.slice.SliceOutput so,
io.airlift.slice.Slice replacement)
Appends to so two slices: the text from the append position up
to the beginning of the most recent match, and then the replacement with
submatch groups substituted for references of the form $n, where
n is the group number in decimal.
Pattern.matcher(io.airlift.slice.Slice input)
Creates a new Matcher matching the pattern against the input.
Resets the Matcher, rewinding input and
discarding any match information.
Matcher.reset(io.airlift.slice.Slice input)
Resets the Matcher and changes the input.