摘要:
1.创建RegExp对象的方法/pattern/attributes;new RegExp(pattern,attributes);2.RegExp对象的属性global,ignoreCase,multiline,lastIndex,source;3.RegExp对象的方法test(),exec(),compile();4.支持RegExp对象的String方法replace(),macth(),split(),search();5.修饰符i,g,m6.方括号用于查找某个范围内的字符[abc][^abc][0-9][a-z][A-Z][ adgk][^adgk][red|blue|green] 阅读全文
posted @ 2011-04-25 16:20
郭培
阅读(189)
评论(0)
推荐(0)
浙公网安备 33010602011771号