pub fn validate_pattern(pattern: &str) -> Option<String>
Validate a glob pattern - returns error message if invalid