接口的使用
org.apache.oro.text.regex.MatchResult
使用MatchResult的程序包
程序包
说明
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.
This package used to be the AwkTools library and provides AWK-like
regular expression classes that implement the
org.apache.oro.text.regex interfaces.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.This package used to be the OROMatcher library and provides both
generic regular expression interfaces and Perl5 regular expression
compatible implementation classes.
-
org.apache.oro.text中MatchResult的使用
声明为MatchResult的org.apache.oro.text中的字段 -
org.apache.oro.text.awk中MatchResult的使用
修饰符和类型方法说明AwkMatcher.getMatch()Fetches the last match found by a call to a matches() or contains() method. -
org.apache.oro.text.perl中MatchResult的使用
修饰符和类型类说明final classThis 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().修饰符和类型方法说明Perl5Util.getMatch()Returns the last match found by a call to a match(), substitute(), or split() method. -
org.apache.oro.text.regex中MatchResult的使用
修饰符和类型方法说明PatternMatcher.getMatch()Fetches the last match found by a call to a matches() or contains() method.Perl5Matcher.getMatch()Fetches the last match found by a call to a matches() or contains() method.参数类型为MatchResult的org.apache.oro.text.regex中的方法修饰符和类型方法说明voidPerl5Substitution.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.voidStringSubstitution.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.voidSubstitution.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.