| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCaptureReplacer
A reasonable default implementation of
CaptureReplacer. |
| Modifier and Type | Method and Description |
|---|---|
Matcher |
Matcher.appendReplacement(StringBuffer sb,
CaptureReplacer replacer)
Implements a non-terminal append-and-replace step.
|
String |
Matcher.replaceAll(CaptureReplacer replacer)
Replaces every subsequence of the input sequence that matches the pattern
with the replacement string computed with the given
CaptureReplacer. |
String |
Matcher.replaceFirst(CaptureReplacer replacer)
Replaces the first subsequence of the input sequence that matches the pattern
with the replacement string computed with the given
CaptureReplacer. |
Copyright © 2019. All rights reserved.