[][src]Function rawcmd_utils::match_indices

pub fn match_indices(txt: &str) -> Vec<String>

Uses regex to split the provided text on ANSI codes. It returned list includes text chinks and ANSI delimiters.