This commit is contained in:
grossmj 2024-12-30 16:26:51 +07:00
parent ee5b88e19a
commit 2a9ced5cbd
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
@Injectable() @Injectable()
export class ProjectNameValidator { export class ProjectNameValidator {
get(projectName) { get(projectName) {
var pattern = new RegExp(/[~`!#$%\^&*+=\[\]\\';,/{}|\\":<>\?]/); var pattern = new RegExp(/[~`!#$%\^&*+=\[\]\\';,/{}|\\"<>\?]/);
if (!pattern.test(projectName.value)) { if (!pattern.test(projectName.value)) {
return null; return null;