pub fn is_valid_expr(expression: &str) -> boolExpand description
Performs basic structural validation of a runtime expression.
Checks that:
- If the expression starts with
${, it must end with} - The expression is not empty after sanitization
- Basic bracket matching