public class REUtil extends Object
Constructor and Description |
---|
REUtil() |
Modifier and Type | Method and Description |
---|---|
static RE |
createRE(String expression)
Creates a regular expression, permitting simple or complex syntax
|
static RE |
createRE(String expression,
int matchFlags)
Creates a regular expression, permitting simple or complex syntax
|
public static RE createRE(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 errorpublic static RE createRE(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 error