no matches found (正则表达式使用中常见错误)来源: 发布时间:星期二, 2009年12月8日 浏览:0次 评论:0
Pattern p = Pattern.compile ( ".*?_(\\d*_\\d*)" ); Matcher m = p.matcher(jobName);//jobName is a ![]() String version = m.group(m.groupCount ![]() 如果只是这样写 , 执行 ![]() 找了好多资料 , 大部分都说要 : while (m.find ![]() String version = m.group(m.groupCount ![]() 试过了 , 不成功 . 试了 ![]() ![]() ![]() ![]() version = m.group(m.groupCount ![]() } 0
相关文章读者评论发表评论 |
|