Skip to content

Commit

Permalink
Patch #30 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricknjacky committed May 25, 2021
1 parent f75b810 commit b813fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/regexValidate.js
Expand Up @@ -2,7 +2,7 @@ module.exports = function(type) {
switch (type) {
case "name":
//All Alphanumeric and accented characters and "-" example: École élémentaire ... Saint-Ouen
return /^[a-zA-Z0-9\u00C0-\u017F\s.-]$/;
return /^[a-zA-Z0-9\u00C0-\u017F\s.-]+$/;
case "pass":
//All alphanumeric characters case insensitive
return /^[a-z0-9]+$/i;
Expand Down

0 comments on commit b813fee

Please sign in to comment.