From a3a1fca0338e1c650309592998c2d29579d0a40e Mon Sep 17 00:00:00 2001 From: Alex | Kronox Date: Fri, 29 Nov 2024 14:11:48 +0100 Subject: [PATCH] allow tilde in input name --- src/features/dfdElements/outputPortBehaviorValidation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/dfdElements/outputPortBehaviorValidation.ts b/src/features/dfdElements/outputPortBehaviorValidation.ts index 189ebbc..bf44e94 100644 --- a/src/features/dfdElements/outputPortBehaviorValidation.ts +++ b/src/features/dfdElements/outputPortBehaviorValidation.ts @@ -21,7 +21,7 @@ interface PortBehaviorValidationError { @injectable() export class PortBehaviorValidator { // RegEx validating names of input pins - private static readonly INPUT_LABEL_REGEX = /[A-Za-z0-9_][A-Za-z0-9_\|]+/; + private static readonly INPUT_LABEL_REGEX = /[A-Za-z0-9_~][A-Za-z0-9_~\|]+/; // RegEx validating names of output labels private static readonly OUTPUT_LABEL_REGEX = /[A-Za-z0-9_]+\.[A-Za-z0-9_]+/;