呵呵 搞错了 是正则表达式,谢谢,我也查到了
其实我最想知道的是/g是什么意思/ pattern /g 
是正则字符串的语法g (全文查找出现的所有 pattern) 
i (忽略大小写) 
m (多行查找)