diff --git a/main.js b/main.js index 8b6731e..ffe889a 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,5 @@ const isJapanPoint = name => { - const regJapaneseplace = /[ぁ-γ‚“δΊœ-熙]/; + const regJapaneseplace = /[\p{sc=Hiragana}\p{sc=Han}]/u; return regJapaneseplace.test(name); }