Skip to content

Commit

Permalink
Merge pull request #29 from ben-29/provice_pr
Browse files Browse the repository at this point in the history
update Province regex
  • Loading branch information
yihong0618 authored Oct 31, 2020
2 parents c138c42 + f3f2f0e commit 73bb745
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
| [yihong0618](https://github.com/yihong0618) | https://yihong.run/running | Nike |
| [superleeyom](https://github.com/superleeyom) | https://running.leeyom.top | Keep |
| [geekplux](https://github.com/geekplux) | https://activities.geekplux.com | Nike |
| [guanlan](https://github.com/guanlan) | https://grun.vercel.app/ | Strava |
| [tuzimoe](https://github.com/tuzimoe) | https://run.tuzi.moe/ | Nike |
| [ben-29](https://github.com/ben-29) | https://running.ben29.xyz/ | Strava
| [guanlan](https://github.com/guanlan) | https://grun.vercel.app | Strava |
| [tuzimoe](https://github.com/tuzimoe) | https://run.tuzi.moe | Nike |
| [ben_29](https://github.com/ben-29) | https://running.ben29.xyz | Strava


## Features
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
| [yihong0618](https://github.com/yihong0618) | https://yihong.run/running | Nike |
| [superleeyom](https://github.com/superleeyom) | https://running.leeyom.top | Keep |
| [geekplux](https://github.com/geekplux) | https://activities.geekplux.com | Nike |
| [guanlan](https://github.com/guanlan) | https://grun.vercel.app/ | Strava |
| [tuzimoe](https://github.com/tuzimoe) | https://run.tuzi.moe/ | Nike |
| [ben-29](https://github.com/ben-29) | https://running.ben29.xyz/ | Strava |
| [guanlan](https://github.com/guanlan) | https://grun.vercel.app | Strava |
| [tuzimoe](https://github.com/tuzimoe) | https://run.tuzi.moe | Nike |
| [ben_29](https://github.com/ben-29) | https://running.ben29.xyz | Strava |

## 特性

Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const locationForRun = (run) => {
if (location) {
// Only for Chinese now
const cityMatch = location.match(/[\u4e00-\u9fa5]*/);
const provinceMatch = location.match(/[\u4e00-\u9fa5]*/);
const provinceMatch = location.match(/[\u4e00-\u9fa5]*(|)/);
if (cityMatch) {
[city] = cityMatch;
}
Expand Down

0 comments on commit 73bb745

Please sign in to comment.