Skip to main content

split_comment_mentions

Function split_comment_mentions 

Source
pub fn split_comment_mentions(
    text: &str,
    people: &[CommentAuthor],
) -> Vec<(String, bool)>
Expand description

Splits body text into (segment, is_mention) slices matching @Full Name of known authors.