From ee9b0dac5f865acdc88d5ad570feab43238ad2ec Mon Sep 17 00:00:00 2001 From: hutinoatari <63452799+hutinoatari@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:54:40 +0900 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E8=A6=8F=E8=A1=A8=E7=8F=BE=E3=82=92?= =?UTF-8?q?=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }