public final class REUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static RegularExpression |
createRegex(String pattern,
String options)
Creates a RegularExpression instance.
|
static void |
main(String[] argv)
Sample entry.
|
static boolean |
matches(String regex,
String target) |
static boolean |
matches(String regex,
String options,
String target) |
static String |
quoteMeta(String literal) |
public static void main(String[] argv)
public static RegularExpression createRegex(String pattern, String options) throws ParseException
ParseExceptionRegularExpression(java.lang.String, java.lang.String)public static boolean matches(String regex, String target) throws ParseException
ParseExceptionRegularExpression.matches(java.lang.String)public static boolean matches(String regex, String options, String target) throws ParseException
ParseExceptionRegularExpression.matches(java.lang.String)