matchRegExp matchRegExp
如果第一个参数中的字符串与第二个参数中的正则表达式匹配,则返回true。 有关详细信息,请参阅。
类别
字符串
函数语法
matchRegExp(<parameters>)
参数
参数
            类型
          字符串
            字符串
          regexp
            字符串
          签名和返回的类型
matchRegExp(<string>,<string>)
返回布尔值。
示例
matchRegExp("12345", "\\d+")
返回真。
recommendation-more-help
            
          b22c9c5d-9208-48f4-b874-1cefb8df4d76