public final class RegexOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RegexOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
ALWAYS_EAGER_NAME |
static RegexOptions |
DEFAULT |
static String |
DUMP_AUTOMATA_NAME |
static String |
REGRESSION_TEST_MODE_NAME |
static String |
STEP_EXECUTION_NAME |
static String |
U180E_WHITESPACE_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RegexFeatureSet |
getFeatureSet()
The set of features that the regex compilers will be able to support.
|
RegexFlavor |
getFlavor() |
int |
hashCode() |
boolean |
isAlwaysEager()
Always match capture groups eagerly.
|
boolean |
isDumpAutomata()
Produce ASTs and automata in JSON, DOT (GraphViz) and LaTeX formats.
|
boolean |
isRegressionTestMode() |
boolean |
isStepExecution()
Trace the execution of automata in JSON files.
|
boolean |
isU180EWhitespace() |
static RegexOptions.Builder |
newBuilder() |
static RegexOptions |
parse(String optionsString) |
String |
toString() |
public static final String U180E_WHITESPACE_NAME
public static final String REGRESSION_TEST_MODE_NAME
public static final String DUMP_AUTOMATA_NAME
public static final String STEP_EXECUTION_NAME
public static final String ALWAYS_EAGER_NAME
public static final RegexOptions DEFAULT
public static RegexOptions.Builder newBuilder()
public static RegexOptions parse(String optionsString) throws RegexSyntaxException
RegexSyntaxException
public boolean isU180EWhitespace()
public boolean isRegressionTestMode()
public boolean isDumpAutomata()
public boolean isStepExecution()
public boolean isAlwaysEager()
public RegexFlavor getFlavor()
public RegexFeatureSet getFeatureSet()