public interface RegexpMatcher
Modifier and Type | Method and Description |
---|---|
String |
getGroupIfMatches(String str,
int group)
Returns the specified group if the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation. |
boolean |
matches(String str)
Returns true is the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation. |
String getGroupIfMatches(String str, int group)
boolean matches(String str)