Skip to main content

repeated

Function repeated 

Source
fn repeated(text: &str) -> String
Expand description

A character repeated ten times or more (“==========”, “xxxxxxxxxx”) made a space: Virtual Secretary’s (.)\1{9,}, whose back-reference the regex crate lacks.