接口 RegexpMatcher
- 所有已知实现类:
JdkRegexpMatcher
public interface RegexpMatcher
Abstraction for regexp handling.
-
方法概要
修饰符和类型方法说明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.booleanReturns true is the string macthes the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation.
-
方法详细资料
-
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 macthes the Pattern.
The Pattern will be managed internally by the RegexpMatcher implementation.
-