public abstract class RegexFlavor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BACKREFERENCES_TO_UNMATCHED_GROUPS_FAIL |
protected static int |
EMPTY_CHECKS_MONITOR_CAPTURE_GROUPS |
protected static int |
FAILING_EMPTY_CHECKS_DONT_BACKTRACK |
protected static int |
LOOKBEHINDS_RUN_LEFT_TO_RIGHT |
protected static int |
NESTED_CAPTURE_GROUPS_KEPT_ON_LOOP_REENTRY |
protected static int |
USES_LAST_GROUP_RESULT_FIELD |
| Modifier | Constructor and Description |
|---|---|
protected |
RegexFlavor(int traits) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
backreferencesToUnmatchedGroupsFail() |
boolean |
canHaveEmptyLoopIterations() |
abstract RegexParser |
createParser(RegexLanguage language,
RegexSource source,
CompilationBuffer compilationBuffer) |
abstract RegexValidator |
createValidator(RegexSource source) |
boolean |
emptyChecksMonitorCaptureGroups() |
boolean |
failingEmptyChecksDontBacktrack() |
boolean |
lookBehindsRunLeftToRight() |
boolean |
nestedCaptureGroupsKeptOnLoopReentry() |
boolean |
usesLastGroupResultField() |
protected static final int BACKREFERENCES_TO_UNMATCHED_GROUPS_FAIL
protected static final int EMPTY_CHECKS_MONITOR_CAPTURE_GROUPS
protected static final int NESTED_CAPTURE_GROUPS_KEPT_ON_LOOP_REENTRY
protected static final int FAILING_EMPTY_CHECKS_DONT_BACKTRACK
protected static final int USES_LAST_GROUP_RESULT_FIELD
protected static final int LOOKBEHINDS_RUN_LEFT_TO_RIGHT
public abstract RegexParser createParser(RegexLanguage language, RegexSource source, CompilationBuffer compilationBuffer)
public abstract RegexValidator createValidator(RegexSource source)
public boolean backreferencesToUnmatchedGroupsFail()
public boolean emptyChecksMonitorCaptureGroups()
public boolean nestedCaptureGroupsKeptOnLoopReentry()
public boolean failingEmptyChecksDontBacktrack()
public boolean canHaveEmptyLoopIterations()
public boolean usesLastGroupResultField()
public boolean lookBehindsRunLeftToRight()