From 2ae83173b6192efcc322323780f48f448cd26b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 30 May 2024 20:34:56 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=B1=8F=E8=94=BDsafari=2015=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=9A=84=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/RegExp.uts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uni_modules/uts-tests/utssdk/RegExp.uts b/uni_modules/uts-tests/utssdk/RegExp.uts index 13d780a..cad5a38 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 = /(?