make linter happy

This commit is contained in:
TabascoEye 2021-05-17 12:11:20 +02:00 committed by Thomas Basler
parent 6739d68a96
commit 8b0080bb21
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ export interface CharacterTexture {
}
export function isUserNameValid(value: string): boolean {
const regexp = new RegExp('^[A-Za-z0-9\-\+\?\_\&\!]{1,'+MAX_USERNAME_LENGTH+'}$');
const regexp = new RegExp('^[A-Za-z0-9-+?_&!]{1,'+MAX_USERNAME_LENGTH+'}$');
return regexp.test(value);
}