pub fn check_search_text(text: &str) -> Result<&str, Error>
Repository search text: at most 256 characters, no control characters.