2018年8月14日
摘要: 一、JavaScript正则相关方法 str.match(regexp)与regexp.exec(str)功能类似。 str.search(regexp)与regexp.test(str)功能类似。 1. String.prototype.match() 检索匹配项,并返回匹配的第一个完整子串及其下 阅读全文
posted @ 2018-08-14 11:29 阿琛 阅读(289) 评论(0) 推荐(0)