From d1765bfe7a5045923ccedf3d32166da3483f6351 Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Mon, 18 Dec 2023 13:07:04 +0200 Subject: [PATCH] trailing regex fix --- ui-ngx/src/app/core/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/core/utils.ts b/ui-ngx/src/app/core/utils.ts index 012a64ea45..2590c68f3e 100644 --- a/ui-ngx/src/app/core/utils.ts +++ b/ui-ngx/src/app/core/utils.ts @@ -26,7 +26,7 @@ import { TranslateService } from '@ngx-translate/core'; import { serverErrorCodesTranslations } from '@shared/models/constants'; const varsRegex = /\${([^}]*)}/g; -export const noLeadTrailSpacesRegex: RegExp = /^(?! )[A-Za-z0-9 ]*(? { const scrollSubject = new Subject();