摘要: 一、 基本语法 1 直接量语法 /pattern/attributes 2 创建RegExp对象语法 new RegExp( pattern, attributes); 参数介绍: pattern:参数 pattern 是一个字符串,指定了正则表达式的模式或其他正则表达式。 参数 attribute 阅读全文
posted @ 2017-07-09 15:41 Story.and.Wine 阅读(284) 评论(0) 推荐(0)