From 24352d763c64752a8482ece2a1831d2cece9102e Mon Sep 17 00:00:00 2001 From: ben_29 Date: Fri, 13 Oct 2023 10:33:18 +0800 Subject: [PATCH] fix: cityMatch (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;