소스 검색

特殊字符#

wfg 7 달 전
부모
커밋
c49ce64b2f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/util/date.js

+ 2 - 2
src/util/date.js

@@ -216,6 +216,6 @@ function addZero(num) {
 }
 
 export function verifyEnglish(str) {
-  const regex = /^[A-Za-z0-9\n .,!?:()|/+-_;'"$&@%*]+$/;
+  const regex = /^[A-Za-z0-9\n .,!?:()|/+-_;'"$&@%*#]+$/;
   return regex.test(str?str:null);
-}
+}