会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
帮助别人,证明我活过。
博客园
首页
新随笔
联系
订阅
管理
2014年12月25日
正则表达式
摘要: 最简单的正则表达式的用法就是测试一个特定的字符串是否与之匹配。首先使用一个正则表达式的字符串来构造Pattern对象,然后从Pattern对象中获取一个Matcher对象,并调用它的matches方法:Pattern pattern = Pattern.compile(patternString);...
阅读全文
posted @ 2014-12-25 20:39 米其林轮船
阅读(143)
评论(0)
推荐(0)
编辑
公告