| Package | Description |
|---|---|
| regexodus |
| Modifier and Type | Method and Description |
|---|---|
static TextBuffer |
Replacer.wrap(StringBuilder sb) |
| Modifier and Type | Method and Description |
|---|---|
void |
Substitution.appendSubstitution(MatchResult match,
TextBuffer dest) |
void |
PerlSubstitution.appendSubstitution(MatchResult match,
TextBuffer dest) |
boolean |
MatchResult.getGroup(int n,
TextBuffer tb) |
boolean |
Matcher.getGroup(int n,
TextBuffer tb) |
boolean |
MatchResult.getGroup(String name,
TextBuffer tb) |
boolean |
Matcher.getGroup(String name,
TextBuffer tb) |
int |
Replacer.replace(CharSequence text,
TextBuffer dest) |
static int |
Replacer.replace(Matcher m,
Substitution substitution,
TextBuffer dest)
Replaces all occurrences of a matcher's pattern in a matcher's target
by a given substitution appending the result to a buffer.
The substitution starts from current matcher's position, current match not included. |
static int |
Replacer.replace(Matcher m,
Substitution substitution,
TextBuffer dest,
int count)
Replaces the first n occurrences of a matcher's pattern, where n is equal to count,
in a matcher's target by a given substitution, appending the result to a buffer.
|
Copyright © 2016. All rights reserved.