pub fn has_shell_expansion_pattern(s: &str) -> boolExpand description
Check if a string contains shell expansion patterns ($(, `, ${, or $ + identifier).
Used for heredoc content and other string-level expansion detection where structured AST nodes are not available.