Skip to content

Commit

Permalink
fix: cityMatch (yihong0618#521)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7c3c05b)
  • Loading branch information
ben-29 authored Oct 15, 2023
1 parent 657d135 commit ae72e21
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 ae72e21

Please sign in to comment.