private static final class Platform.JdkPatternCompiler extends java.lang.Object implements PatternCompiler
| Modifier | Constructor and Description |
|---|---|
private |
JdkPatternCompiler() |
| Modifier and Type | Method and Description |
|---|---|
CommonPattern |
compile(java.lang.String pattern)
Compiles the given pattern.
|
boolean |
isPcreLike()
Returns
true if the regex implementation behaves like Perl -- notably, by supporting
possessive quantifiers but also being susceptible to catastrophic backtracking. |
public CommonPattern compile(java.lang.String pattern)
PatternCompilercompile in interface PatternCompilerpublic boolean isPcreLike()
PatternCompilertrue if the regex implementation behaves like Perl -- notably, by supporting
possessive quantifiers but also being susceptible to catastrophic backtracking.isPcreLike in interface PatternCompiler