pub fn add_exclude_pattern(existing: &mut Vec<String>, pattern: String) -> bool
Add a pattern only when non-empty and not already present (after normalization).
Returns true when the pattern was inserted.
true