摘要: explain: 阅读全文
posted @ 2017-11-11 17:56 tangchangcai 阅读(439) 评论(0) 推荐(0) 编辑
摘要: method1: '1aaa2bb3'.match(/\d/g) //return : [1,2,3] method2: '1aaa2bb3 hello world'.match('world ') //return null,是因为后面有个空格所以返回null '1aaa2bb3 hello wo 阅读全文
posted @ 2017-11-11 11:14 tangchangcai 阅读(5079) 评论(0) 推荐(0) 编辑