Skip to main content

extract_block

Function extract_block 

Source
pub fn extract_block<'a>(
    text: &'a str,
    begin: &str,
    end: &str,
) -> Option<&'a str>
Expand description

The marked block inside a document, markers included, or None where the text carries no complete block.