pub fn contains_dynamic_shell_syntax(command: &str) -> boolExpand description
Returns whether a shell command contains syntax whose meaning depends on shell expansion rather than the literal argument text.
Safety-sensitive classification must only operate on static command
shapes. Parameter expansion, command substitution, brace expansion,
globbing, and unquoted backslash escapes can otherwise turn a
harmless-looking token into a different executable argument at runtime.
Backslash escapes inside double-quoted arguments are consumed as literal
argument syntax so patterns such as rg -n "\\[profile" remain classifiable.