feat 236,284

全半角の改修コミット
This commit is contained in:
kanarutsuda
2024-06-13 14:51:28 +09:00
parent 1d248bde43
commit 55bbf50656
2 changed files with 3 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ export class FullWidthAction implements IAction{
containsFullWidthChars(text: string): boolean {
//半角英数字カナ記号を除外
const checkRegex="[^\x01-\x7E\uFF61-\uFF9F]";
const checkRegex="^[^\x01-\x7E\uFF61-\uFF9F]+$";
//正規表現オブジェクト生成
const fullWidthRegex = new RegExp(checkRegex);