会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
淡然_
Care for code with heart
博客园
首页
新随笔
联系
订阅
管理
2015年10月23日
test/exec/match
摘要: 1) test 检查指定的字符串是否存在var data = “123123″;var reCat = /123/gi;alert(reCat.test(data)); //true//检查字符是否存在 g 继续往下走 i 不区分大小写2) exec 返回查询值var data = “123123,...
阅读全文
posted @ 2015-10-23 11:38 淡然_
阅读(128)
评论(0)
推荐(0)
编辑
公告