Closed ruchevits closed 1 year ago
Current regex /^with Diagram\([\w\s:"'=.,\\\/]+\)\:/g won't match the following valid statements:
/^with Diagram\([\w\s:"'=.,\\\/]+\)\:/g
with Diagram(): with Diagram("Back-end architecture"):
Considering it can also be a variable within the parentheses:
name = "Back-end architecture" with Diagram(name):
I propose to change it to /^with Diagram\(.*?\)\:/g and let the interpreter deal with the rest.
/^with Diagram\(.*?\)\:/g
Current regex
/^with Diagram\([\w\s:"'=.,\\\/]+\)\:/g
won't match the following valid statements:Considering it can also be a variable within the parentheses:
I propose to change it to
/^with Diagram\(.*?\)\:/g
and let the interpreter deal with the rest.