Skip to main content

has_shell_expansion_pattern

Function has_shell_expansion_pattern 

Source
pub fn has_shell_expansion_pattern(s: &str) -> bool
Expand 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.