public interface Regex
RegexEngine
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String str)
Tests whether this regular expression matches a string.
|
boolean matches(String str)
str
- the String to be testedtrue
if str
matches this regular expression,
false
otherwise