如果第一個參數中的字串與第二個參數中的規則運算式匹配,則返回true。 有關詳細資訊,請參見 此頁。
字串
matchRegExp(<parameters>)
matchRegExp(<string>,<string>)
返回布爾值。
matchRegExp("username@adobe.com", "*adobe")
返回true。