From ae72e21951f50402c4fca16e9726211dd8756992 Mon Sep 17 00:00:00 2001 From: Ben Bell Date: Sun, 15 Oct 2023 16:06:45 +0800 Subject: [PATCH] fix: cityMatch (#521) (cherry picked from commit 7c3c05b971c787cb1fa085d6c1552376227ea8a6) --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index eb014975a0c..37a9795da3f 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -78,7 +78,7 @@ const scrollToMap = () => { } }; -const pattern = /([\u4e00-\u9fa5]{2,}(市|自治州))/g; +const pattern = /([\u4e00-\u9fa5]{2,}(市|自治州|特别行政区))/g; const extractLocations = (str: string): string[] => { const locations = []; let match;