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
public static boolean matches(String regex, String target) throws ParseException
ParseException
RegularExpression.matches(java.lang.String)
public static boolean matches(String regex, String options, String target) throws ParseException
ParseException
RegularExpression.matches(java.lang.String)
Copyright © 2017 JBoss by Red Hat. All rights reserved.