js 小秘密

1、RegExp 对象方法

test检索字符串中指定的值。返回 true 或 false。

支持正则表达式的 String 对象的方法

原文地址:https://www.cnblogs.com/y896926473/p/7446338.html