pub fn extract_pattern(content: &str) -> String
Extract the primary GoF pattern name from doc content.
Looks for known pattern names in the content. Returns the first match or “–” if none found.