public enum PythonMethod extends Enum<PythonMethod>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
fullmatch
The
fullmatch method returns a match if the whole string matches the regular
expression. |
match
The
match method returns a match if the beginning of the string matches the regular
expression. |
search
The
search method scans for the first location matching the regular expression. |
| Modifier and Type | Method and Description |
|---|---|
static PythonMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PythonMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PythonMethod search
search method scans for the first location matching the regular expression.public static final PythonMethod match
match method returns a match if the beginning of the string matches the regular
expression.public static final PythonMethod fullmatch
fullmatch method returns a match if the whole string matches the regular
expression.public static PythonMethod[] values()
public static PythonMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null