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 Pattern
GenericPatternCache.addPattern
(String expression) Same as callingfinal Pattern
GenericPatternCache.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 Pattern
GenericPatternCache.getPattern
(String expression) Same as callingfinal Pattern
GenericPatternCache.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 Pattern
Perl5Util.__matchPattern
The compiled match expression parsing regular expression.Methods in org.apache.oro.text.perl that return PatternModifier and TypeMethodDescriptionprivate Pattern
Perl5Util.__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 class
An 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 TypeMethodDescriptionboolean
Determines if a string (represented as a char[]) contains a pattern.boolean
Determines if a string 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.boolean
Determines if a string (represented as a char[]) contains a pattern.boolean
Determines if a string 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
Determines if a string (represented as a char[]) exactly matches a given pattern.boolean
Determines if a string 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
Determines if a string (represented as a char[]) exactly matches a given pattern.boolean
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
PatternMatcher.matchesPrefix
(char[] input, Pattern pattern) Determines if a prefix of a string (represented as a char[]) matches a given 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
(String input, Pattern pattern) Determines if a prefix of a string matches a given pattern.boolean
PatternMatcher.matchesPrefix
(PatternMatcherInput input, Pattern pattern) Determines if a prefix of a PatternMatcherInput instance matches a given pattern.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
(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.boolean
Perl5Matcher.matchesPrefix
(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.