Uses of Interface
org.apache.oro.text.regex.Pattern
Packages that use Pattern
-
Uses of Pattern in org.apache.oro.text
Methods in org.apache.oro.text that return PatternModifier and TypeMethodDescription(package private) final PatternGenericPatternCache.addPattern(String expression) Same as callingfinal PatternGenericPatternCache.addPattern(String expression, int options) Adds a pattern to the cache and returns the compiled pattern.PatternCache.addPattern(String expression, int options) Adds a pattern to the cache and returns the compiled pattern.final PatternGenericPatternCache.getPattern(String expression) Same as callingfinal PatternGenericPatternCache.getPattern(String expression, int options) This method fetches a pattern from the cache.PatternCache.getPattern(String expression) This method fetches a pattern from the cache.PatternCache.getPattern(String expression, int options) This method fetches a pattern from the cache. -
Uses of Pattern in org.apache.oro.text.perl
Fields in org.apache.oro.text.perl declared as PatternModifier and TypeFieldDescriptionprivate PatternPerl5Util.__matchPatternThe compiled match expression parsing regular expression.Methods in org.apache.oro.text.perl that return PatternModifier and TypeMethodDescriptionprivate PatternPerl5Util.__parseMatchExpression(String pat) Parses a match expression and returns a compiled pattern. -
Uses of Pattern in org.apache.oro.text.regex
Classes in org.apache.oro.text.regex that implement PatternModifier and TypeClassDescriptionfinal classAn implementation of the Pattern interface for Perl5 regular expressions.Methods in org.apache.oro.text.regex that return PatternModifier and TypeMethodDescriptionPatternCompiler.compile(char[] pattern) Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.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.Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.Perl5Compiler.compile(char[] pattern) Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);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.Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);Compiles a Perl5 regular expression into a Perl5Pattern instance that can be used by a Perl5Matcher object to perform pattern matching.Methods in org.apache.oro.text.regex with parameters of type PatternModifier and TypeMethodDescriptionbooleanDetermines if a string (represented as a char[]) contains a pattern.booleanDetermines if a string contains a pattern.booleanPatternMatcher.contains(PatternMatcherInput input, Pattern pattern) Determines if the contents of a PatternMatcherInput, starting from the current offset of the input contains a pattern.booleanDetermines if a string (represented as a char[]) contains a pattern.booleanDetermines if a string contains a pattern.booleanPerl5Matcher.contains(PatternMatcherInput input, Pattern pattern) Determines if the contents of a PatternMatcherInput, starting from the current offset of the input contains a pattern.booleanDetermines if a string (represented as a char[]) exactly matches a given pattern.booleanDetermines if a string exactly matches a given pattern.booleanPatternMatcher.matches(PatternMatcherInput input, Pattern pattern) Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern.booleanDetermines if a string (represented as a char[]) exactly matches a given pattern.booleanDetermines if a string exactly matches a given pattern.booleanPerl5Matcher.matches(PatternMatcherInput input, Pattern pattern) Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern.booleanPatternMatcher.matchesPrefix(char[] input, Pattern pattern) Determines if a prefix of a string (represented as a char[]) matches a given pattern.booleanPatternMatcher.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.booleanPatternMatcher.matchesPrefix(String input, Pattern pattern) Determines if a prefix of a string matches a given pattern.booleanPatternMatcher.matchesPrefix(PatternMatcherInput input, Pattern pattern) Determines if a prefix of a PatternMatcherInput instance matches a given pattern.booleanPerl5Matcher.matchesPrefix(char[] input, Pattern pattern) Determines if a prefix of a string (represented as a char[]) matches a given pattern.booleanPerl5Matcher.matchesPrefix(char[] in, 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.booleanPerl5Matcher.matchesPrefix(String input, Pattern pattern) Determines if a prefix of a string matches a given pattern.booleanPerl5Matcher.matchesPrefix(PatternMatcherInput input, Pattern pattern) Determines if a prefix of a PatternMatcherInput instance matches a given pattern.