|
|||||||||
| Home >> All >> org >> apache >> oro >> text >> [ regex overview ] | PREV NEXT | ||||||||
Uses of Interface
org.apache.oro.text.regex.Pattern
| Uses of Pattern in org.apache.oro.text.regex |
| Classes in org.apache.oro.text.regex that implement Pattern | |
class |
Perl5Pattern
An implementation of the Pattern interface for Perl5 regular expressions. |
| Methods in org.apache.oro.text.regex that return Pattern | |
Pattern |
Perl5Compiler.compile(char[] pattern,
int options)
Compiles a Perl5 regular expression into a Perl5Pattern instance that can be used by a Perl5Matcher object to perform pattern matching. |
Pattern |
Perl5Compiler.compile(char[] pattern)
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK); |
Pattern |
Perl5Compiler.compile(java.lang.String pattern)
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK); |
Pattern |
Perl5Compiler.compile(java.lang.String pattern,
int options)
Compiles a Perl5 regular expression into a Perl5Pattern instance that can be used by a Perl5Matcher object to perform pattern matching. |
Pattern |
PatternCompiler.compile(java.lang.String pattern)
Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching. |
Pattern |
PatternCompiler.compile(java.lang.String pattern,
int options)
Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching. |
Pattern |
PatternCompiler.compile(char[] pattern)
Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching. |
Pattern |
PatternCompiler.compile(char[] pattern,
int options)
Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching. |
| Methods in org.apache.oro.text.regex with parameters of type Pattern | |
static void |
Util.split(java.util.Collection results,
PatternMatcher matcher,
Pattern pattern,
java.lang.String input,
int limit)
Splits up a String instance and stores results as a
List of substrings numbering no more than a specified
limit. |
static void |
Util.split(java.util.Collection results,
PatternMatcher matcher,
Pattern pattern,
java.lang.String input)
Splits up a String instance and stores results as a
Collection of all its substrings using a regular expression
as the delimiter. |
static java.util.Vector |
Util.split(PatternMatcher matcher,
Pattern pattern,
java.lang.String input,
int limit)
Deprecated. Use Util.split(Collection, PatternMatcher, Pattern, String, int) 55 instead. |
static java.util.Vector |
Util.split(PatternMatcher matcher,
Pattern pattern,
java.lang.String input)
Deprecated. Use Util.split(Collection, PatternMatcher, Pattern, String) 55 instead. |
static java.lang.String |
Util.substitute(PatternMatcher matcher,
Pattern pattern,
Substitution sub,
java.lang.String input,
int numSubs)
Searches a string for a pattern and replaces the first occurrences of the pattern with a Substitution up to the number of substitutions specified by the numSubs parameter. |
static java.lang.String |
Util.substitute(PatternMatcher matcher,
Pattern pattern,
Substitution sub,
java.lang.String input)
Searches a string for a pattern and substitutes only the first occurence of the pattern. |
static int |
Util.substitute(java.lang.StringBuffer result,
PatternMatcher matcher,
Pattern pattern,
Substitution sub,
java.lang.String input,
int numSubs)
Searches a string for a pattern and replaces the first occurrences of the pattern with a Substitution up to the number of substitutions specified by the numSubs parameter. |
static int |
Util.substitute(java.lang.StringBuffer result,
PatternMatcher matcher,
Pattern pattern,
Substitution sub,
PatternMatcherInput input,
int numSubs)
Searches a string for a pattern and replaces the first occurrences of the pattern with a Substitution up to the number of substitutions specified by the numSubs parameter. |
void |
Substitution.appendSubstitution(java.lang.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(java.lang.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(java.lang.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. |
boolean |
Perl5Matcher.matchesPrefix(char[] input,
Pattern pattern,
int offset)
Determines if a prefix of a string (represented as a char[]) matches a given pattern, starting from a given offset into the string. |
boolean |
Perl5Matcher.matchesPrefix(char[] input,
Pattern pattern)
Determines if a prefix of a string (represented as a char[]) matches a given pattern. |
boolean |
Perl5Matcher.matchesPrefix(java.lang.String input,
Pattern pattern)
Determines if a prefix of a string matches a given pattern. |
boolean |
Perl5Matcher.matchesPrefix(PatternMatcherInput input,
Pattern pattern)
Determines if a prefix of a PatternMatcherInput instance matches a given pattern. |
boolean |
Perl5Matcher.matches(char[] input,
Pattern pattern)
Determines if a string (represented as a char[]) exactly matches a given pattern. |
boolean |
Perl5Matcher.matches(java.lang.String input,
Pattern pattern)
Determines if a string exactly matches a given pattern. |
boolean |
Perl5Matcher.matches(PatternMatcherInput input,
Pattern pattern)
Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern. |
boolean |
Perl5Matcher.contains(java.lang.String input,
Pattern pattern)
Determines if a string contains a pattern. |
boolean |
Perl5Matcher.contains(char[] input,
Pattern pattern)
Determines if a string (represented as a char[]) contains a pattern. |
boolean |
Perl5Matcher.contains(PatternMatcherInput input,
Pattern pattern)
Determines if the contents of a PatternMatcherInput, starting from the current offset of the input contains a pattern. |
boolean |
PatternMatcher.matchesPrefix(char[] input,
Pattern pattern,
int offset)
Determines if a prefix of a string (represented as a char[]) matches a given pattern, starting from a given offset into the string. |
boolean |
PatternMatcher.matchesPrefix(java.lang.String input,
Pattern pattern)
Determines if a prefix of a string matches a given pattern. |
boolean |
PatternMatcher.matchesPrefix(char[] input,
Pattern pattern)
Determines if a prefix of a string (represented as a char[]) matches a given pattern. |
boolean |
PatternMatcher.matchesPrefix(PatternMatcherInput input,
Pattern pattern)
Determines if a prefix of a PatternMatcherInput instance matches a given pattern. |
boolean |
PatternMatcher.matches(java.lang.String input,
Pattern pattern)
Determines if a string exactly matches a given pattern. |
boolean |
PatternMatcher.matches(char[] input,
Pattern pattern)
Determines if a string (represented as a char[]) exactly matches a given pattern. |
boolean |
PatternMatcher.matches(PatternMatcherInput input,
Pattern pattern)
Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern. |
boolean |
PatternMatcher.contains(java.lang.String input,
Pattern pattern)
Determines if a string contains a pattern. |
boolean |
PatternMatcher.contains(char[] input,
Pattern pattern)
Determines if a string (represented as a char[]) contains a pattern. |
boolean |
PatternMatcher.contains(PatternMatcherInput input,
Pattern pattern)
Determines if the contents of a PatternMatcherInput, starting from the current offset of the input contains a pattern. |
|
|||||||||
| Home >> All >> org >> apache >> oro >> text >> [ regex overview ] | PREV NEXT | ||||||||