博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年1月28日

摘要: 1 语法 1.1 直接量语法 /pattern/attributes 1.2 创建RegExp对象 new RegExp(pattern, attributes) 1.3 说明 pattern是正则表达式,attributes是指修饰符如i,g,m 2 RegExp 对象方法 方法描述 exec 检 阅读全文

posted @ 2015-01-28 13:30 米粒3 阅读(163) 评论(0) 推荐(0) 编辑