public class RegexStringMatcher extends java.lang.Object implements StringMatcher
Constructor and Description |
---|
RegexStringMatcher(java.lang.String patStr)
Constructor.
|
public RegexStringMatcher(java.lang.String patStr)
patStr
- a String defining the regular expression pattern to matchpublic boolean matches(java.lang.String s)
StringMatcher
matches
in interface StringMatcher
s
- a Stringpublic java.lang.String toString()
toString
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.