| 接口 | 描述 | 
|---|---|
| MatchResult | 
           匹配操作的结果。 
          | 
| 类 | 描述 | 
|---|---|
| Matcher |  
          执行上匹配操作的引擎character sequence通过解释 Pattern。 | 
| Pattern | 
           正则表达式的编译表示。 
          | 
| 异常 | 描述 | 
|---|---|
| PatternSyntaxException | 
           抛出未经检查的异常,以指示正则表达式模式中的语法错误。 
          | 
 Pattern类的一个实例表示一个正则表达式,它以类似于Perl使用的语法在字符串形式中指定。 
 所述的实例Matcher类被用来对一个给定的模式相匹配的字符序列。 输入通过CharSequence接口提供给匹配器,以支持与来自各种输入源的字符的匹配。 
 除非另有说明,否则将null参数传递给此程序包中任何类或接口中的方法将导致抛出NullPointerException 。 
一个很好的教程和正则表达式的概述是Mastering Regular Expressions, Jeffrey E. F. Friedl, O'Reilly and Associates, 1997.
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.