public class REUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
complexPrefix
complex:
|
| 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
|
private static final java.lang.String complexPrefix
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 errorCopyright © 2001-2007 Apache Software Foundation. All Rights Reserved.