fiscal name ignore case
gitea/salix/master This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-10-01 15:12:02 +02:00
parent e3dd482457
commit 199529b3b9
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ module.exports = Self => {
} }
function isAlpha(value) { function isAlpha(value) {
const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/); const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/i);
return regexp.test(value); return regexp.test(value);
} }