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