org.apache.commons.digester
public class SimpleRegexMatcher extends RegexMatcher
Simple regex pattern matching algorithm.
This uses just two wildcards:
*
matches any sequence of none, one or more characters
?
matches any one character
Since: 1.5
Method Summary | |
---|---|
Log | getLog()
Gets the Log implementation. |
boolean | match(String basePattern, String regexPattern)
Matches using simple regex algorithm.
|
void | setLog(Log log)
Sets the current Log implementation used by this class. |
Log
implementation.Parameters: basePattern the standard digester path representing the element regexPattern the regex pattern the path will be tested against
Returns: true if the given pattern matches the given path
Log
implementation used by this class.