diff --git a/uni_modules/uts-tests/utssdk/RegExp.uts b/uni_modules/uts-tests/utssdk/RegExp.uts index 13d780a04f91dbd27169fca38db1a010e8eba6f5..cad5a38a7a6a4b7707e15eb98f4669821e8a5631 100644 --- a/uni_modules/uts-tests/utssdk/RegExp.uts +++ b/uni_modules/uts-tests/utssdk/RegExp.uts @@ -224,6 +224,8 @@ export function testRegExp(): Result { const result8 = pattern8.exec('https://example.org')!; expect(result8[0]).toEqual('https://example.org'); + // #ifndef WEB + // 目前的测试环境safari版本为15,不支持?< const pattern9 = /(?<=@)\w+/; const result9 = pattern9.exec('Email: john@example.com')!; expect(result9[0]).toEqual('example'); @@ -231,6 +233,7 @@ export function testRegExp(): Result { const pattern10 = /(?