Skip to main content

first_bold_closer

Function first_bold_closer 

Source
fn first_bold_closer(chars: &[char], open: usize) -> Option<usize>
Expand description

The first * after open able to close a span opened there: non-space before it, no word character after it, and no ability to open a span of its own - otherwise the two stars of a pair of globs would close a span between them.