| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.regexp.named |
JDK中的Regexp 从 JDK7 开始,支持 named capturing group,之前是不支持的,
该package 用于为 JDK5,JDK6扩展出支持 named capturing group
|
| 限定符和类型 | 方法和说明 |
|---|---|
static NamedRegexp |
NamedRegexp.compile(String regex)
Compiles the given regular expression into a pattern
|
static NamedRegexp |
NamedRegexp.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given flags
|
Copyright © 2022. All rights reserved.