| Package | Description |
|---|---|
| regexodus |
| Modifier and Type | Class and Description |
|---|---|
class |
PerlSubstitution
An implementation of the Substitution interface.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Replacer |
Pattern.replacer(Substitution model)
Returns a replacer will substitute all occurrences of a pattern
through applying a user-defined substitution model.
|
| Constructor and Description |
|---|
Replacer(Pattern pattern,
Substitution substitution)
Unlikely to be used directly.
|
Copyright © 2016. All rights reserved.