摘要: 正则表达式 直接量语法 /pattern/attributes 创建 RegExp 对象的语法: new RegExp(pattern, attributes); 五大属性 global:如果设置了new RegExp(‘s’,’g’),g(全局)被设置,所以global为true; ignoreC 阅读全文
posted @ 2016-12-22 00:46 rubyT 阅读(8240) 评论(0) 推荐(1) 编辑