类 RegexpUtils
java.lang.Object
com.sh.json.regexp.RegexpUtils
Convenience utility for working withRegexpMatcher.
-
方法概要
修饰符和类型方法说明static RegexpMatchergetMatcher(String pattern) Returns a RegexpMatcher that works in a specific environment.
When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher.static RegexpMatchergetMatcher(String pattern, boolean multiline) Returns a RegexpMatcher that works in a specific environment.
When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher.
-
方法详细资料
-
getMatcher
Returns a RegexpMatcher that works in a specific environment.
When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher. -
getMatcher
Returns a RegexpMatcher that works in a specific environment.
When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher.
-