js中正则+贪婪模式和?引擎执行顺序剖析
操作的对象:This is a<EM>first</EM> test 匹配标签var reg = /<.+>/gm;var reg = /<[^>]+>/;var reg = /<.?+>/gm;参考资料http://www.jb51.net/tools/z