public class PatternFactory extends Object
Constructor and Description |
---|
PatternFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.oro.text.regex.Pattern |
createOrGetPerl5CompiledPattern(String stringPattern,
boolean caseSensitive)
Compiles and caches a Perl5 regexp pattern for the given string pattern.
|
public static final String module
public static org.apache.oro.text.regex.Pattern createOrGetPerl5CompiledPattern(String stringPattern, boolean caseSensitive) throws org.apache.oro.text.regex.MalformedPatternException
stringPattern
- a Perl5 pattern stringcaseSensitive
- case sensitive true/falsePattern
instance for the given string patternorg.apache.oro.text.regex.MalformedPatternException