Changes the way the python backend handles multiline statements. Now it checks for a regex match with one of the following control statements: pattern = r"\b(if|for|while|switch|try|parfor|function)\b"
If the command contains such a pattern, it will keep expecting inputs until the next 'end' statement.
Changes the way the python backend handles multiline statements. Now it checks for a regex match with one of the following control statements: pattern = r"\b(if|for|while|switch|try|parfor|function)\b"
If the command contains such a pattern, it will keep expecting inputs until the next 'end' statement.