Package | Description |
---|---|
com.google.javascript.jscomp.regex |
Modifier and Type | Method and Description |
---|---|
static RegExpTree |
RegExpTree.parseRegExp(java.lang.String pattern,
java.lang.String flags)
Parses a regular expression to an AST.
|
abstract RegExpTree |
RegExpTree.simplify(java.lang.String flags)
Returns a simpler regular expression that is semantically the same assuming
the given flags.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<? extends RegExpTree> |
RegExpTree.children()
The children of this node.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RegExpTree.matchesWholeInput(RegExpTree t,
java.lang.String flags)
True if, but not necessarily always when the, given regular expression
must match the whole input or none of it.
|
Copyright © 2009-2018 Google. All Rights Reserved.