Skip to content

Commit

Permalink
fix: cityMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-29 committed Oct 13, 2023
1 parent 20def07 commit 7c3c05b
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 @@ -91,7 +91,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 7c3c05b

Please sign in to comment.