Javascript中正则的 match、test、exec使用方法和区别 总结: match 是str调用 test和exec是正则表达式调用 test只返回true或false, exec和match的结果是相同的,返回结果比较复杂