Skip to main content

mask_quoted_runs

Function mask_quoted_runs 

Source
fn mask_quoted_runs(text: &str, windows: &[String]) -> String
Expand description

Every double-quoted run containing a window of the token masked; an unterminated quote takes its tail with it rather than printing a value whose end nobody found. A run’s spaces stay inside it, which the bare-word pass over it cannot see.