软件包 | 描述 |
---|---|
java.util.regex |
用于对正则表达式指定的模式匹配字符序列的类。
|
Modifier and Type | Method and Description |
---|---|
Matcher |
Matcher.appendReplacement(StringBuffer sb, String replacement)
实现了一个非终端的附加和替换步骤。
|
Matcher |
Pattern.matcher(CharSequence input)
创建一个匹配,将匹配给定的输入对该模式。
|
Matcher |
Matcher.region(int start, int end)
设置限制了这种匹配的区域。
|
Matcher |
Matcher.reset()
这个重置匹配。
|
Matcher |
Matcher.reset(CharSequence input)
这个重置匹配新的输入序列。
|
Matcher |
Matcher.useAnchoringBounds(boolean b)
设置锚固区域界限这个匹配。
|
Matcher |
Matcher.usePattern(Pattern newPattern)
变化的
Pattern这
Matcher使用找火柴。
|
Matcher |
Matcher.useTransparentBounds(boolean b)
设置此匹配区域界限的透明度。
|
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.