正则表达式
文章平均质量分 90
mjlfto
这个作者很懒,什么都没留下…
展开
-
java 正则表达式Matcher方法讲解--上篇
appendReplacement(StringBuffer sb, String replacement) 根据方法名可知, 这是添加更换方法, 其意思是将输入字符序列中首次与正则表达式匹配之前的字符序列添加到sb中,然后将匹配部分更改为replacement字符序列并添加到sb中。import java.util.regex.Matcher;import java.util.regex.P原创 2016-12-27 20:33:25 · 671 阅读 · 0 评论 -
java 正则表达式Matcher 方法讲解--中篇
public boolean lookingAt() Attempts to match the input sequence, starting at the beginning of the region, against the pattern. Like the matches method, this method always starts at the beginning原创 2016-12-28 15:48:01 · 936 阅读 · 0 评论