pub fn parse_pattern(pattern: &str) -> Result<Vec<PatternChar>, String>
Parses a pattern string like “LLLNNNSSS” into PatternChar vector