摘要: var str = "123#abc";var re = /abc/ig;console.log(re.test(str)); //输出tureconsole.log(re.test(str)); //输出falseconsole.log(re.test(str)); //输出tureconsole... 阅读全文
posted @ 2015-12-23 18:26 Debugor 阅读(183) 评论(0) 推荐(0)