pub fn pattern_vars(s: &str) -> Vec<&str>
Returns the variable names bound in a pattern string (simplified: lowercase idents).