Java 教程是为 JDK 8 编写的。本页中描述的示例和实践未利用在后续版本中引入的改进。
java.util.regex
"foo"
\d
\s
\w
(dog){3}
检查一下你的答案。
About Oracle| Contact Us | Legal Notices | Terms of Use | Your Privacy Rights | 关于汉化
Copyright © 1995, 2017 Oracle and/or its affiliates. All rights reserved.