public class RegexStringMatcher extends Object implements StringMatcher
Constructor and Description |
---|
RegexStringMatcher(String patStr)
Constructor.
|
public RegexStringMatcher(String patStr)
patStr
- a String defining the regular expression pattern to matchpublic boolean matches(String s)
StringMatcher
matches
in interface StringMatcher
s
- a StringCopyright © 2003–2015. All rights reserved.