Package org.kordamp.json.regexp
Interface RegexpMatcher
- All Known Implementing Classes:
JdkRegexpMatcher
public interface RegexpMatcher
Abstraction for regexp handling.
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupIfMatches
(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
Returns true is the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation.
-
Method Details
-
getGroupIfMatches
Returns the specified group if the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation. -
matches
Returns true is the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation.
-