public class REUtil
extends java.lang.Object
| Constructor and Description |
|---|
REUtil() |
| Modifier and Type | Method and Description |
|---|---|
static RE |
createRE(java.lang.String expression)
Creates a regular expression, permitting simple or complex syntax
|
static RE |
createRE(java.lang.String expression,
int matchFlags)
Creates a regular expression, permitting simple or complex syntax
|
public static RE createRE(java.lang.String expression, int matchFlags) throws RESyntaxException
expression - The expression, beginning with a prefix if it's complex or having no prefix if it's simplematchFlags - Matching style flagsRESyntaxException - thrown in case of errorpublic static RE createRE(java.lang.String expression) throws RESyntaxException
expression - The expression, beginning with a prefix if it's complex or having no prefix if it's simpleRESyntaxException - thrown in case of error