public class Regexs extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
Regexs.RString
The interface R string.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static Pattern |
M_COLORHEX
The constant M_COLORHEX.
|
static Pattern |
M_DATE
The constant M_DATE.
|
static Pattern |
M_IP
The constant M_IP.
|
static Pattern |
M_PIC
The constant M_PIC.
|
static Pattern |
M_PZINT
The constant M_PZINT.
|
static Pattern |
MC_COLORHEX
The constant MC_COLORHEX.
|
static Pattern |
MC_DATE
The constant MC_DATE.
|
static Pattern |
MC_IP
The constant MC_IP.
|
static Pattern |
MC_PIC
The constant MC_PIC.
|
static Pattern |
MC_PZINT
The constant MC_PZINT.
|
static String |
PREFIX
The constant PREFIX.
|
static String |
SUFFIX
The constant SUFFIX.
|
| 构造器和说明 |
|---|
Regexs() |
public static final Pattern M_IP
public static final Pattern MC_IP
public static final Pattern M_PIC
public static final Pattern MC_PIC
public static final Pattern M_DATE
public static final Pattern MC_DATE
public static final Pattern M_PZINT
public static final Pattern MC_PZINT
public static final Pattern M_COLORHEX
public static final Pattern MC_COLORHEX
public static boolean matcher(String regEx, String str)
regEx - 正则str - 待测试字符串public static boolean matches(Pattern p, CharSequence input)
p - the pinput - The character sequence to be matchedCopyright © 2020. All rights reserved.