| 程序包 | 说明 |
|---|---|
| org.apache.oro.text |
This package used to be the TextTools library and provides general
text processing support, including a glob regular expression class,
pattern caching and line-by-line processing classes.
|
| org.apache.oro.text.awk |
This package used to be the AwkTools library and provides AWK-like
regular expression classes that implement the
org.apache.oro.text.regex interfaces. |
| org.apache.oro.text.perl |
This package used to be the PerlTools library and adds Perl5
regular expression syntactic sugar built on top of the
org.apache.oro.text.regex Perl5 regular expression classes. |
| org.apache.oro.text.regex |
This package used to be the OROMatcher library and provides both
generic regular expression interfaces and Perl5 regular expression
compatible implementation classes.
|
| 限定符和类型 | 字段和说明 |
|---|---|
MatchResult |
MatchActionInfo.match
The first match found in the line of input.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MatchResult |
AwkMatcher.getMatch()
Fetches the last match found by a call to a matches() or contains()
method.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Perl5Util
This is a utility class implementing the 3 most common Perl5 operations
involving regular expressions:
[m]/pattern/[i][m][s][x],
s/pattern/replacement/[g][i][m][o][s][x],
and split().
|
| 限定符和类型 | 方法和说明 |
|---|---|
MatchResult |
Perl5Util.getMatch()
Returns the last match found by a call to a match(), substitute(), or
split() method.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MatchResult |
Perl5Matcher.getMatch()
Fetches the last match found by a call to a matches() or contains()
method.
|
MatchResult |
PatternMatcher.getMatch()
Fetches the last match found by a call to a matches() or contains()
method.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Substitution.appendSubstitution(StringBuffer appendBuffer,
MatchResult match,
int substitutionCount,
PatternMatcherInput originalInput,
PatternMatcher matcher,
Pattern pattern)
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
|
void |
StringSubstitution.appendSubstitution(StringBuffer appendBuffer,
MatchResult match,
int substitutionCount,
PatternMatcherInput originalInput,
PatternMatcher matcher,
Pattern pattern)
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
|
void |
Perl5Substitution.appendSubstitution(StringBuffer appendBuffer,
MatchResult match,
int substitutionCount,
PatternMatcherInput originalInput,
PatternMatcher matcher,
Pattern pattern)
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
|
Copyright © 2024. All rights reserved.