REUtilpublic class REUtil extends Object This is a class that contains utility helper methods for this package. |
Fields Summary |
---|
private static final String | complexPrefixcomplex: |
Methods Summary |
---|
public static RE | createRE(java.lang.String expression, int matchFlags)Creates a regular expression, permitting simple or complex syntax
if (expression.startsWith(complexPrefix))
{
return new RE(expression.substring(complexPrefix.length()), matchFlags);
}
return new RE(RE.simplePatternToFullRegularExpression(expression), matchFlags);
| public static RE | createRE(java.lang.String expression)Creates a regular expression, permitting simple or complex syntax
return createRE(expression, RE.MATCH_NORMAL);
|
|