Skip to main content

parse_citations

Function parse_citations 

Source
pub fn parse_citations(text: &str, sources_count: usize) -> CitationParseResult
Expand description

Parse [^N] citation markers out of text.

sources_count is used only to flag OutOfRange warnings; the citations themselves are returned regardless of bounds.