public class StringPatternSetRegex extends Object implements StringPatternSet
Constructor and Description |
---|
StringPatternSetRegex(String patternText)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
match(String stringToMatch)
Match the string returning true for a match, using regular expression semantics.
|
public StringPatternSetRegex(String patternText)
patternText
- regex to matchpublic boolean match(String stringToMatch)
match
in interface StringPatternSet
stringToMatch
- string to match