pub fn parse_rules_multi_doc(content: &str) -> Result<Vec<CustomRule>, Error>Expand description
Parse a YAML string containing one or more CustomRule documents (separated
by ---). Single-doc files behave identically to the legacy
serde_yaml::from_str::<CustomRule> path. Empty/whitespace-only documents
(e.g. a leading --- followed by a real doc) are skipped.
Equivalent to parse_rules_multi_doc_with_source(content, None) — provenance
stamping is opt-in via the _with_source variant so callers that don’t
know the originating path (tests, stdin) keep working unchanged.