Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit a3a1fca

Browse files
committed
allow tilde in input name
1 parent 2d85676 commit a3a1fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/dfdElements/outputPortBehaviorValidation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface PortBehaviorValidationError {
2121
@injectable()
2222
export class PortBehaviorValidator {
2323
// RegEx validating names of input pins
24-
private static readonly INPUT_LABEL_REGEX = /[A-Za-z0-9_][A-Za-z0-9_\|]+/;
24+
private static readonly INPUT_LABEL_REGEX = /[A-Za-z0-9_~][A-Za-z0-9_~\|]+/;
2525

2626
// RegEx validating names of output labels
2727
private static readonly OUTPUT_LABEL_REGEX = /[A-Za-z0-9_]+\.[A-Za-z0-9_]+/;

0 commit comments

Comments
 (0)