# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. "b\ude00" "bb" "b" "b\ude00" true true true true true true true false false false false true false SC52BAHL01031234567890123456USD true true true false true true true false true true aaaabbBbcccC aaaabb_Bbccc_C aaaabb_Bbccc_C _xy_B_xy_C aaaabbBbcccC aaaabbBbcccC aaaabb_Bbccc_C aaaabb_Bbccc_C _xy_B_xy_C aaaabbBbcccC (s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s,(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(,s,(,s,(,s,(,s,(,s,(,s,(,s,(,s false true false true false true aaa null aaa aa TypeError: this does not have [[RegExpMatcher]] 0 true 0 0 true 0 0 true 0 0 true 0 undefined undefined undefined undefined undefined undefined undefined undefined (?:) TypeError TypeError /(?:)/ \/vedio\/av(uuu)(uuu) beep, ,boop, ,afff测试样本one1 verifyRegExp_1: ,bcdefghijklmnopqrstuvwxyz,bcdefghijklmnopqrstuvwxyz,bcdefghijklmnopqrstuvwxyz,bcdefghijklmnopqrstuvwxyz verifyRegExp_2: ,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz verifyRegExp_3: ,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz,efghijklmnopqrstuvwxyz true false true false true true true true true true SyntaxError: Invalid regular expression :/[\p{}]/u a,b,c a,b,c a,b,c a,b,c true a,b,c 1 -1 1 2 a,bc 2 a,bc 2 abc 2 abc 2 abc,abc 0 abc,abc 0 g abc 3 abc 6 /a+b+c/y 0 true 0 3 false 8 0 true 0 3 true 8 true SyntaxError: nothing to repeat null [object Object] false false success text/html text/plain text/html false false true 1 true 2 gi 4 true true true true true dgimsuy g gi gy gm gs gu dg g