Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
6b65c6fd
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6b65c6fd
编写于
5月 01, 2011
作者:
S
sherman
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7036522: j.u.r.Pattern documentation errors
Summary: updated the Perl related information Reviewed-by: alanb
上级
d3f3c958
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
23 addition
and
12 deletion
+23
-12
src/share/classes/java/util/regex/Pattern.java
src/share/classes/java/util/regex/Pattern.java
+23
-12
未找到文件。
src/share/classes/java/util/regex/Pattern.java
浏览文件 @
6b65c6fd
...
...
@@ -667,8 +667,30 @@ import java.util.Arrays;
* <p> Perl constructs not supported by this class: </p>
*
* <ul>
* <li><p> Predefined character classes (Unicode character)
* <p><tt>\h </tt>A horizontal whitespace
* <p><tt>\H </tt>A non horizontal whitespace
* <p><tt>\v </tt>A vertical whitespace
* <p><tt>\V </tt>A non vertical whitespace
* <p><tt>\R </tt>Any Unicode linebreak sequence
* <tt>\u005cu000D\u005cu000A|[\u005cu000A\u005cu000B\u005cu000C\u005cu000D\u005cu0085\u005cu2028\u005cu2029]</tt>
* <p><tt>\X </tt>Match Unicode
* <a href="http://www.unicode.org/reports/tr18/#Default_Grapheme_Clusters">
* <i>extended grapheme cluster</i></a>
* </p></li>
*
* <li><p> The backreference constructs, <tt>\g{</tt><i>n</i><tt>}</tt> for
* the <i>n</i><sup>th</sup><a href="#cg">capturing group</a> and
* <tt>\g{</tt><i>name</i><tt>}</tt> for
* <a href="#groupname">named-capturing group</a>.
* </p></li>
*
* <li><p> The conditional constructs <tt>(?{</tt><i>X</i><tt>})</tt> and
* <li><p> The named character construct, <tt>\N{</tt><i>name</i><tt>}</tt>
* for a Unicode character by its name.
* </p></li>
*
* <li><p> The conditional constructs
* <tt>(?(</tt><i>condition</i><tt>)</tt><i>X</i><tt>)</tt> and
* <tt>(?(</tt><i>condition</i><tt>)</tt><i>X</i><tt>|</tt><i>Y</i><tt>)</tt>,
* </p></li>
*
...
...
@@ -686,10 +708,6 @@ import java.util.Arrays;
*
* <ul>
*
* <li><p> Possessive quantifiers, which greedily match as much as they can
* and do not back off, even when doing so would allow the overall match to
* succeed. </p></li>
*
* <li><p> Character-class union and intersection as described
* <a href="#cc">above</a>.</p></li>
*
...
...
@@ -723,13 +741,6 @@ import java.util.Arrays;
* within a group; in the latter case, flags are restored at the end of the
* group just as in Perl. </p></li>
*
* <li><p> Perl is forgiving about malformed matching constructs, as in the
* expression <tt>*a</tt>, as well as dangling brackets, as in the
* expression <tt>abc]</tt>, and treats them as literals. This
* class also accepts dangling brackets but is strict about dangling
* metacharacters like +, ? and *, and will throw a
* {@link PatternSyntaxException} if it encounters them. </p></li>
*
* </ul>
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录