Skip to content

Commit

Permalink
allow tilde in input name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Nov 29, 2024
1 parent 2d85676 commit a3a1fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/dfdElements/outputPortBehaviorValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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_]+/;
Expand Down

0 comments on commit a3a1fca

Please sign in to comment.