Skip to content

Commit

Permalink
fix: cityMatch
Browse files Browse the repository at this point in the history
(cherry picked from commit 7c3c05b)
  • Loading branch information
ben-29 committed Oct 14, 2023
1 parent 657d135 commit 24352d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24352d7

Please sign in to comment.