Class RegexUnifier
java.lang.Object
com.oracle.truffle.regex.analysis.RegexUnifier
Generates a "unified" regular expression representation where all single characters are replaced
by "x" and all character classes are replaced by "[c]". The result is supposed to represent the
expression's general structure and complexity, and enable the user to find structurally
equivalent expressions. Example: /(.*yui[a-xU-Y](,|\w))/ -> /([c]*xxx[c](x|[c]))/
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RegexUnifier
-
-
Method Details
-
getUnifiedPattern
- Throws:
RegexSyntaxException
-