Explorar el Código

特殊字符#

wfg hace 7 meses
padre
commit
c49ce64b2f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);
-}
+}