fn extract_plugins_from_xml( xml: &str, patterns: &[(&Regex, &str, &str)], ) -> Vec<PluginRef>
Extract plugin names from XML using pre-compiled regex patterns.