feat 236,284 全半角のチェック コミット
This commit is contained in:
@@ -75,7 +75,7 @@ export class HalfWidthAction implements IAction{
|
||||
//全て全角の文字列の場合はtrue、そうでない場合はfalse
|
||||
containsHalfWidthChars(text: string): boolean {
|
||||
|
||||
const checkRegex="^[\x01-\x7E\uFF61-\uFF9F]+$";
|
||||
const checkRegex = "^[\x01-\x7E\uFF61-\uFF9F]+$";
|
||||
//正規表現オブジェクト生成
|
||||
const halfWidthRegex = new RegExp(checkRegex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user