public final class REUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RegularExpression |
createRegex(java.lang.String pattern,
java.lang.String options)
Creates a RegularExpression instance.
|
static void |
main(java.lang.String[] argv)
Sample entry.
|
static boolean |
matches(java.lang.String regex,
java.lang.String target) |
static boolean |
matches(java.lang.String regex,
java.lang.String options,
java.lang.String target) |
static java.lang.String |
quoteMeta(java.lang.String literal) |
public static void main(java.lang.String[] argv)
public static RegularExpression createRegex(java.lang.String pattern, java.lang.String options) throws ParseException
public static boolean matches(java.lang.String regex, java.lang.String target) throws ParseException
ParseException
RegularExpression.matches(java.lang.String)
public static boolean matches(java.lang.String regex, java.lang.String options, java.lang.String target) throws ParseException
ParseException
RegularExpression.matches(java.lang.String)
public static java.lang.String quoteMeta(java.lang.String literal)
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.